forked from eslint-community/eslint-plugin-promise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
27 lines (27 loc) · 696 Bytes
/
.eslintrc.json
File metadata and controls
27 lines (27 loc) · 696 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
{
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "script"
},
"plugins": ["eslint-plugin", "node", "prettier"],
"extends": [
"eslint:recommended",
"plugin:eslint-plugin/recommended",
"plugin:node/recommended",
"plugin:prettier/recommended"
],
"rules": {
"no-var": "error",
"object-shorthand": "error",
"prefer-arrow-callback": "error",
"prefer-const": "error",
"strict": ["error", "global"],
"eslint-plugin/prefer-placeholders": "error",
"eslint-plugin/test-case-shorthand-strings": "error",
"node/no-unsupported-features": ["error", { "version": 6 }],
"prettier/prettier": "error"
}
}