Skip to content

Commit 1b212cf

Browse files
committed
Merge pull request airbnb#431 from pascalduez/pr__update_eslint_config
Update ESlint deprecated rules
2 parents 0c29596 + 2af7a56 commit 1b212cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linters/.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"no-new-object": 2, // http://eslint.org/docs/rules/no-new-object
153153
"no-spaced-func": 2, // http://eslint.org/docs/rules/no-spaced-func
154154
"no-trailing-spaces": 2, // http://eslint.org/docs/rules/no-trailing-spaces
155-
"no-wrap-func": 2, // http://eslint.org/docs/rules/no-wrap-func
155+
"no-extra-parens": [2, "functions"], // http://eslint.org/docs/rules/no-extra-parens
156156
"no-underscore-dangle": 0, // http://eslint.org/docs/rules/no-underscore-dangle
157157
"one-var": [2, "never"], // http://eslint.org/docs/rules/one-var
158158
"padded-blocks": [2, "never"], // http://eslint.org/docs/rules/padded-blocks
@@ -166,7 +166,7 @@
166166
"space-before-function-paren": [2, "never"], // http://eslint.org/docs/rules/space-before-function-paren
167167
"space-infix-ops": 2, // http://eslint.org/docs/rules/space-infix-ops
168168
"space-return-throw-case": 2, // http://eslint.org/docs/rules/space-return-throw-case
169-
"spaced-line-comment": 2, // http://eslint.org/docs/rules/spaced-line-comment
169+
"spaced-comment": 2, // http://eslint.org/docs/rules/spaced-comment
170170

171171
/**
172172
* JSX style

0 commit comments

Comments
 (0)