-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
41 lines (41 loc) · 1.14 KB
/
.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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"extends": "airbnb-base",
"parserOptions": {
"sourceType": "module"
},
"parser": "@babel/eslint-parser",
"rules": {
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"never"
],
"no-console": [
"error",
{ "allow": ["warn", "error", "info"] }
],
"global-require": "off",
"no-param-reassign": "off",
"no-use-before-define": "off",
"prefer-rest-params": "off",
"func-names": "off",
"function-paren-newline": "off",
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off",
"import/no-named-as-default-member": "off",
"import/no-named-as-default": "off",
"import/no-import-module-exports": "off",
"arrow-parens": "off",
"function-call-argument-newline": "off",
"class-methods-use-this": ["error", { "enforceForClassFields": false }],
"indent": "off" // this rule is broken as of 2022-06-17
}
}