-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
28 lines (28 loc) · 849 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
{
"env": {
"browser": true,
"commonjs": true,
"es2020": true,
"jest": true
},
// prettier is first so airbnb-base rules can conflict sometime with prettier reason
// then this disable those prettier rules below.
// Here we are giving more priority to airbnb rules
"extends": ["prettier", "airbnb-base"],
"parserOptions": {
"ecmaVersion": 11
},
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"indent": ["error", 4],
"comma-dangle": ["error", "never"],
"arrow-parens": "off",
"consistent-return": "off",
"quotes": ["error", "double"],
"lines-between-class-members": "off",
"import/extensions": "off",
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off"
}
}