-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 1.27 KB
/
package.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"private": true,
"dependencies": {},
"devDependencies": {
"cspell": "^4.0.63",
"eslint": "^7.1.0",
"eslint-config-airbnb": "^18.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.20.0"
},
"scripts": {
"build": "npm run lint",
"lint": "eslint --ignore-path .gitignore . && cspell **/*.*",
"lint-fix": "eslint --fix --ignore-path .gitignore ."
},
"eslintConfig": {
"root": true,
"env": {
"es6": true,
"browser": true,
"greasemonkey": true
},
"extends": "airbnb",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "script"
},
"rules": {
"no-unused-vars": [
"error",
{
"args": "none"
}
],
"func-names": "off",
"no-use-before-define": [
"error",
"nofunc"
],
"max-len": "off",
"no-restricted-syntax": [
"error",
"LabeledStatement",
"WithStatement"
],
"no-continue": "off",
"strict": "warn",
"require-await": "error",
"require-yield": "error",
"linebreak-style": "off",
"arrow-parens": "off",
"prefer-destructuring": "warn"
}
},
"browserslist": [
"since 2017-06"
]
}