forked from RichardSabol/Clarence-bot-ESS-public
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
31 lines (31 loc) · 720 Bytes
/
Copy path.eslintrc.json
File metadata and controls
31 lines (31 loc) · 720 Bytes
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
{
"env": {
"node": true,
"commonjs": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:prettier/recommended", "prettier"],
"plugins": ["sort-requires-by-path"],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
// Error
"prettier/prettier": "error",
// Warn
"prefer-const": "warn",
"no-unused-vars": "warn",
"sort-requires-by-path/sort-requires-by-path": "warn",
//Off
"no-console": "off",
"func-names": "off",
"no-process-exit": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"eqeqeq": "off",
"node/no-unsupported-features/es-syntax": "off",
"consistent-return": "off",
"no-plusplus": "off",
"no-underscore-dangle": "off"
}
}