forked from windicss/windicss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
32 lines (32 loc) · 816 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
32
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"semi": [2, "always"],
"quotes": [2, "single"],
"comma-spacing": 2,
"indent": [2, 2],
"no-console": 2,
"no-constant-condition": 2,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "off",
"comma-dangle": [2, "always-multiline"],
"no-var": 2,
"eqeqeq": [2, "allow-null"],
"no-trailing-spaces": 2,
"arrow-spacing": 2,
"object-curly-spacing": [2, "always"]
}
}