/
.eslintrc.json
34 lines (34 loc) · 1.03 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-base"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"ignorePatterns": [ "dev", "web_modules", "**/dist", "_site", "**/docs" ],
"rules": {
"semi": [ "error", "never" ],
"indent": [ "error", 4 ],
"linebreak-style": [ "error", "windows" ],
"no-use-before-define": [ "error", { "functions": false } ],
"no-plusplus": [ "error", { "allowForLoopAfterthoughts": true } ],
"no-continue": "off",
"import/extensions": [ "error", "ignorePackages" ],
"func-names": "off",
"import/no-unresolved": "off",
"no-bitwise": "off",
"max-len": "off",
"object-curly-newline": [ "error", { "ObjectPattern": { "consistent": true } } ],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/test/**/*"]}],
"jsdoc/no-undefined-types": 0
},
"root":true,
"plugins": [
"jsdoc"
]
}