mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-06 09:29:01 +01:00
don't use any non-ts eslint rules, they don't understand abstract method
This commit is contained in:
parent
8fa6f4f9fd
commit
e2cdadc714
@ -5,9 +5,8 @@ module.exports = {
|
|||||||
"es6": true
|
"es6": true
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
"eslint:recommended"
|
"plugin:@typescript-eslint/recommended",
|
||||||
// "plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||||||
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
||||||
],
|
],
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
@ -18,12 +17,5 @@ module.exports = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
'@typescript-eslint',
|
'@typescript-eslint',
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {}
|
||||||
"no-console": "off",
|
|
||||||
"no-empty": "off",
|
|
||||||
"no-prototype-builtins": "off",
|
|
||||||
"no-unused-vars": "warn",
|
|
||||||
"@typescript-eslint/no-floating-promises": 2,
|
|
||||||
"@typescript-eslint/no-misused-promises": 2
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user