-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
57 lines (57 loc) · 1.32 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
50
51
52
53
54
55
56
57
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2022,
"ecmaFeatures": {
"legacyDecorators": true,
"importAssertions": true
}
},
"extends": [
"eslint:recommended",
"airbnb-base"
],
"rules": {
"comma-dangle": "off",
"func-names": 0,
"indent": ["error", 2],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*"]}],
"max-len": [2, 120, 2, {
"ignoreUrls": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreComments": false
}],
"no-console": 0,
"no-else-return": 0,
"no-multi-assign": 0,
"no-param-reassign": 0,
"no-throw-literal": 0,
"no-tabs": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-use-before-define": ["error", {"variables": false}],
"no-useless-escape": 0,
"operator-linebreak": "off",
"prefer-destructuring": ["error", {
"array": false,
"object": false
}, {
"enforceForRenamedProperties": false
}],
"radix": 0,
"wrap-iife": [2, "inside"]
},
"globals": {
"chrome": true,
"browser": true,
"app": true,
"navigator": true,
"window": true,
"document": true,
"Nuxeo": true,
"disableTabExtension": true,
"hljs": true
}
}