forked from xthecoolboy/Project-Zero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
27 lines (27 loc) · 859 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
{
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true
},
"plugins": ["@getify/proper-arrows", "@getify/proper-ternary"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"//": "The no-console rule is only for development purposes",
"no-console": "off",
"no-useless-escape": "off",
"no-inner-declarations": "off",
"@getify/proper-arrows/params": ["error", { "unused": "trailing" }],
"@getify/proper-arrows/name": "off",
"@getify/proper-arrows/where": ["error", { "global": true }],
"@getify/proper-arrows/return": ["error", { "object": true }],
"@getify/proper-arrows/this": "off",
"@getify/proper-ternary/nested": "off",
"@getify/proper-ternary/parens": "error",
"@getify/proper-ternary/where": "error"
},
"parser": "babel-eslint"
}