forked from Tinkoff/jira-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
31 lines (31 loc) · 905 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
29
30
31
{
"extends": ["airbnb", "prettier"],
"plugins": ["prettier"],
"env": {
"browser": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"no-console": "error",
"comma-dangle": "off",
"import/no-extraneous-dependencies": "error",
"consistent-return": "warn",
"import/prefer-default-export": "off",
"quotes": ["error", "single"],
"import/no-unresolved": [2, { "caseSensitive": false }],
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"class-methods-use-this": "off",
"no-param-reassign": "off"
}
}