Skip to content

Commit a43b929

Browse files
TrottMyles Borins
authored and
Myles Borins
committed
tools: replace obsolete ESLint rules
Now that we are using ESLint 2, replace ESLint 1 rules with their ESLint 2 equivalents. PR-URL: #5214 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: jbergstroem - Johan Bergström <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent a89c6f5 commit a43b929

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ rules:
3636
comma-spacing: 2
3737
eol-last: 2
3838
indent: [2, 2, {SwitchCase: 1}]
39+
keyword-spacing: 2
3940
max-len: [2, 80, 2]
4041
new-parens: 2
4142
no-mixed-spaces-and-tabs: 2
@@ -54,8 +55,8 @@ rules:
5455
arrow-parens: [2, "always"]
5556
arrow-spacing: [2, {"before": true, "after": true}]
5657
constructor-super: 2
57-
no-arrow-condition: 2
5858
no-class-assign: 2
59+
no-confusing-arrow: 2
5960
no-const-assign: 2
6061
no-dupe-class-members: 2
6162
no-this-before-super: 2

0 commit comments

Comments
 (0)