-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.04 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
42
43
44
45
{
"env": {
"es6": true,
"browser": true
},
"globals": {
"Snowboard": "writable"
},
"extends": [
"airbnb-base"
],
"rules": {
"class-methods-use-this": ["off"],
"indent": ["error", 4, {
"SwitchCase": 1
}],
"new-cap": ["error", { "properties": false }],
"no-alert": ["off"],
"no-plusplus": "off",
"no-param-reassign": ["error", {
"props": false
}],
"no-use-before-define": ["error", {
"functions": false,
"classes": true,
"variables": true,
"allowNamedExports": false
}]
},
"ignorePatterns": [
"rollup.*.config.mjs",
"jest.config.js",
"tests/*.js",
"modules/*/tests/*.js",
"dist/",
"packages/*/dist/"
],
"overrides": [
{
"files": ["tests/**", "packages/*/tests/**"],
"plugins": ["jest"],
"extends": ["plugin:jest/recommended"]
}
]
}