-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc
More file actions
84 lines (84 loc) · 2.33 KB
/
.eslintrc
File metadata and controls
84 lines (84 loc) · 2.33 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"extends": [
"airbnb",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"project": "./tsconfig.lint.json",
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"jsx": true
}
},
"settings": {
"import/resolver": {
"node": true,
"eslint-import-resolver-typescript": true
}
},
"rules": {
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-shadow": 2,
"@typescript-eslint/no-use-before-define": 2,
"@typescript-eslint/no-unused-vars": 2,
"arrow-body-style": 0,
"array-callback-return": 0,
"arrow-parens": 0,
"comma-dangle": 0,
"eqeqeq": ["error", "always"],
"function-paren-newline": 0,
"implicit-arrow-linebreak": 0,
"import/no-extraneous-dependencies": [2, {"devDependencies": true}],
"import/prefer-default-export": 0,
"import/extensions": [
"error",
"ignorePackages",
{
"ts": "never",
"tsx": "never"
}
],
"indent": 0,
"jsx-a11y/mouse-events-have-key-events": 0,
"jsx-quotes": ["error", "prefer-single"],
"lines-between-class-members": 0,
"max-len": 0,
"no-await-in-loop": 0,
"no-confusing-arrow": 0,
"no-console": 2,
"no-nested-ternary": 0,
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"no-shadow": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"no-unused-vars": 0,
"object-curly-newline": 0,
"operator-linebreak": 0,
"prefer-arrow-callback": 0,
"react/destructuring-assignment": 0,
"react/jsx-fragments": ["warn", "element"],
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".jsx"] }],
"react/jsx-no-bind": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-props-no-spreading": 0,
"react/prefer-stateless-function": 0,
"react/require-default-props": 0,
"react/sort-comp": 0,
"symbol-description": 0
}
}