-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
45 lines (44 loc) · 1006 Bytes
/
.eslintrc
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
42
43
44
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:node/recommended"
],
"env": {
"es6": true,
"jasmine": true,
"node": true
},
"plugins": [
"import",
"promise"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"impliedStrict": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true
},
"allowImportExportEverywhere": true
},
"rules": {
"node/no-unpublished-import": 0,
"node/no-missing-import": 2,
"prefer-destructuring": 0
}
}