-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·51 lines (51 loc) · 1.13 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
44
45
46
47
48
49
50
51
{
"env": {
"es6": true,
"commonjs": true,
"browser": true,
"jest": true,
"node": true,
"mocha": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts", ".tsx"]
}
}
},
"plugins": ["eslint-plugin-prettier"],
"extends": ["airbnb-base", "react-app", "eslint-config-prettier"],
"rules": {
"prettier/prettier": ["error"],
"template-tag-spacing": "off",
"no-param-reassign": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["**/Stories/**/*", "config-overrides.js"]
}
],
"class-methods-use-this": "off",
"no-plusplus": "off",
"consistent-return": "off",
"implicit-arrow-linebreak": "off",
"import/first": "off",
"function-paren-newline": "off",
"padded-blocks": "off",
"no-shadow": "off",
"object-curly-newline": "off",
"indent": ["error", 2],
"comma-dangle": "off",
"arrow-parens": "off",
"no-continue": "off",
"import/extensions": "off",
"quotes": [
"warn",
"double",
{
"allowTemplateLiterals": true
}
]
}
}