-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
49 lines (49 loc) · 1.09 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"root": true,
"parser": "@babel/eslint-parser",
"extends": [
"airbnb-base/legacy",
"plugin:jsdoc/recommended"
],
"plugins": [
"@babel",
"jsdoc"
],
"globals": {
"include": true,
"inlets": true,
"jsarguments": true,
"LiveAPI": true,
"outlet": true,
"outlets": true,
"post": true
},
"ignorePatterns": [
"dist/",
"node_modules/",
"src/js/*.polyfill.js"
],
"rules": {
"array-bracket-spacing": ["error", "always"],
"block-spacing": ["error", "always"],
"comma-spacing": ["error"],
"func-names": ["warn", "as-needed"],
"indent": ["warn", 4],
"max-len": [ "error", {
"code": 120,
"tabWidth": 4,
"ignoreUrls": true,
"ignoreComments": true,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}],
"no-global-assign": 0,
"no-param-reassign": [ "warn", {
"props": false
}],
"no-unused-vars": 0,
"no-unused-expressions": 0,
"no-use-before-define": 0
}
}