forked from Koenkk/zigbee-herdsman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
22 lines (22 loc) · 843 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
"project": "./tsconfig.json",
},
plugins: ['@typescript-eslint'],
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/semi": ["error"],
"array-bracket-spacing": ["error", "never"],
"indent": ["error", 4],
"max-len": ["error", { "code": 120 }],
"no-return-await": "error",
"object-curly-spacing": ["error", "never"],
}
}