-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (43 loc) · 1.1 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
{
"env": {
"node": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"airbnb-typescript",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"no-console": "error",
"camelcase": "off",
"import/prefer-default-export": "off",
"import/no-default-export": "off",
"no-bitwise": "off",
"no-plusplus": "off",
"radix": "off",
"import/no-cycle": "off",
"no-underscore-dangle": "off",
"consistent-return": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"no-return-assign": "warn",
"class-methods-use-this": "off",
"import/no-dynamic-require": "off",
"global-require": "off",
"lines-between-class-members": "off",
"array-element-newline": ["error", "consistent"],
"array-bracket-newline": ["error", "consistent"]
},
"settings": {
"react": {
"version": "999.999.999"
}
}
}