forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
44 lines (44 loc) · 975 Bytes
/
.eslintrc.json
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
{
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"standard",
"standard-jsx",
"plugin:prettier/recommended",
"prettier/react",
"prettier/standard"
],
"rules": {
"linebreak-style": ["error", "unix"]
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parser": "typescript-eslint-parser",
"plugins": ["typescript"],
"rules": {
"import/export": "off",
"no-dupe-class-members": "off",
"no-empty-pattern": "off",
"no-redeclare": "off",
"no-unused-vars": "off",
"no-undef": "off",
"no-unused-expressions": "off",
"no-use-before-define": "off",
"no-useless-constructor": "off",
"typescript/no-unused-vars": "error",
"standard/no-callback-literal": "off"
}
}
]
}