forked from hp-net/homebridge-nibe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
24 lines (24 loc) · 769 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended", // uses the recommended rules from the @typescript-eslint/eslint-plugin
"plugin:jest/recommended" // enables eslint-plugin-jest
],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"rules": {
"quotes": ["error", "single"],
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],
"dot-notation": "error",
"eqeqeq": ["error", "always", {"null": "ignore"}],
"curly": ["error", "all"],
"brace-style": ["error"]
}
}