-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
38 lines (38 loc) · 900 Bytes
/
.eslintrc.js
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
module.exports = {
parser: "babel-eslint",
extends: [
"plugin:prettier/recommended",
],
plugins: ["import"],
rules: {
strict: 0,
indent: ["error", 2, { SwitchCase: 1 }],
semi: ["error", "never"],
"space-before-function-paren": "off",
"keyword-spacing": "off",
"func-names": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"function-paren-newline": "off",
"no-unused-vars": "warn",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"no-console": "off",
"prefer-destructuring": "off",
"no-param-reassign": "warn",
"no-plusplus": "off",
"no-continue": "off",
"no-mixed-operators": "off",
"object-curly-newline": "off",
"no-underscore-dangle": "off",
"no-cond-assign": "off"
},
env: {
browser: true
},
parserOptions: {
ecmaFeatures: {
jsx: true
}
}
}