forked from sverweij/dependency-cruiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
41 lines (41 loc) · 1.05 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
{
"root": true,
"extends": ["moving-meadow"],
"rules": {
"security/detect-non-literal-fs-filename": "off",
"unicorn/no-null": "off",
"unicorn/prefer-string-slice": "off",
"unicorn/prefer-spread": "off",
"import/no-relative-parent-imports": "off",
"sort-imports": "off" // we're using a similar, but conflicting rule from import/ that is autofixables
},
"overrides": [
{
"files": ["test/**/*.{js,mjs,cjs}"],
"env": {
"mocha": true
},
"rules": {
"max-lines": "off",
"max-lines-per-function": "off",
"mocha/valid-suite-description": [
"error",
{
"pattern": "^\\[[EIU]\\]",
"suiteNames": ["describe"],
"message": "start suite titles with [E], [I] or [U] to mark them as E2E, Integration or Unit test suite"
}
]
}
},
{
"files": ["**/*.mjs"],
"parserOptions": {
"ecmaVersion": 2021
},
"rules": {
"node/no-unsupported-features/es-syntax": "off"
}
}
]
}