Skip to content

Commit bcad1a6

Browse files
committed
update eslintrc
1 parent fa4a0c0 commit bcad1a6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/.eslintrc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parserOptions": {
3-
"ecmaVersion": 8,
3+
"ecmaVersion": 9,
44
"sourceType": "script"
55
},
66
"env": {
@@ -10,35 +10,35 @@
1010
},
1111
"rules": {
1212
"no-unused-vars": [2, {
13-
"argsIgnorePattern": "req|res|next|err",
13+
"argsIgnorePattern": "req|res|next|err"
1414
}],
1515
"no-param-reassign": [0],
1616
"no-restricted-syntax": [
1717
"error",
1818
{
1919
"selector": "ForInStatement",
20-
"message": "for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.",
20+
"message": "for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array."
2121
},
2222
{
2323
"selector": "LabeledStatement",
24-
"message": "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.",
24+
"message": "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand."
2525
},
2626
{
2727
"selector": "WithStatement",
28-
"message": "`with` is disallowed in strict mode because it makes code impossible to predict and optimize.",
29-
},
28+
"message": "`with` is disallowed in strict mode because it makes code impossible to predict and optimize."
29+
}
3030
],
3131
"comma-dangle": ["error", {
3232
"arrays": "always-multiline",
3333
"objects": "always-multiline",
3434
"imports": "always-multiline",
3535
"exports": "always-multiline",
36-
"functions": "never",
36+
"functions": "never"
3737
}],
3838
"no-console": [0],
3939
"no-await-in-loop": [0],
4040
"no-shadow": [0],
41-
"import/no-extraneous-dependencies": ['error', {"devDependencies": true }],
41+
"import/no-extraneous-dependencies": ["error", {"devDependencies": true }],
4242
"no-unused-expressions": [0]
4343
},
4444
"extends": "airbnb-base"

0 commit comments

Comments
 (0)