forked from Yash-Singh1/eslint-plugin-userscripts
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
36 lines (36 loc) · 884 Bytes
/
.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
{
"parser": "@babel/eslint-parser",
"plugins": ["eslint-plugin", "import", "unicorn"],
"extends": [
"eslint:recommended",
"plugin:eslint-plugin/recommended",
"plugin:import/recommended",
"plugin:unicorn/recommended"
],
"parserOptions": {
"requireConfigFile": false
},
"env": {
"node": true
},
"rules": {
"eslint-plugin/test-case-property-ordering": "error",
"eslint-plugin/test-case-shorthand-strings": "error",
"unicorn/prefer-module": "off",
"unicorn/filename-case": "off",
"unicorn/prefer-array-some": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/prefer-array-find": "error",
"unicorn/no-null": "off"
},
"overrides": [
{
"files": "tests/**/*.js",
"env": {
"mocha": true
}
}
]
}