vector-im-hydrogen-web/.eslintrc.js

26 lines
630 B
JavaScript
Raw Normal View History

2019-02-10 21:25:29 +01:00
module.exports = {
2022-07-05 01:14:34 +02:00
root: true,
env: {
2019-02-10 21:25:29 +01:00
"browser": true,
"es6": true
},
2022-07-05 01:14:34 +02:00
extends: [
// "plugin:@typescript-eslint/recommended",
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
],
parser: '@typescript-eslint/parser',
parserOptions: {
"ecmaVersion": 2020,
2022-07-05 01:14:34 +02:00
"sourceType": "module",
"project": "./tsconfig.json"
2019-02-10 21:25:29 +01:00
},
2022-07-05 01:14:34 +02:00
plugins: [
'@typescript-eslint',
],
rules: {
"@typescript-eslint/no-floating-promises": 2,
"@typescript-eslint/no-misused-promises": 2,
"semi": ["error", "always"]
2019-02-10 21:25:29 +01:00
}
};