forked from rejuvenate/lovelace-horizon-card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (31 loc) · 1018 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
25
26
27
28
29
30
31
{
"parser": "@typescript-eslint/parser",
"plugins": [
"simple-import-sort"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/member-ordering": "error",
"eol-last": "error",
"object-curly-spacing": ["error", "always"],
"semi": ["error", "never"],
"space-before-function-paren": ["error", "always"],
"indent": ["error", 2],
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }],
"prefer-const": ["error", {
"destructuring": "all",
"ignoreReadBeforeAssign": true
}],
"comma-dangle": ["error", "never"],
"no-trailing-spaces": ["error"],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"object-shorthand": ["error", "always"],
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }]
}
}