Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 9b8d4cb

Browse files
committed
Update .eslintrc
1 parent a2bac4c commit 9b8d4cb

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.eslintrc

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"rules": {
33
"no-cond-assign": 2,
44
"no-constant-condition": 2,
5-
"no-comma-dangle": 2,
5+
"comma-dangle": 2,
66
"no-control-regex": 2,
77
"no-debugger": 2,
88
"no-dupe-keys": 2,
@@ -64,8 +64,7 @@
6464
2,
6565
"outside"
6666
],
67-
"global-strict": [2, "never"],
68-
"no-extra-strict": 2,
67+
"strict": [2, "never"],
6968
"strict": 2,
7069
"no-catch-shadow": 2,
7170
"no-delete-var": 2,
@@ -97,8 +96,9 @@
9796
"no-lonely-if": 2,
9897
"no-new-object": 2,
9998
"no-spaced-func": 2,
100-
"no-space-before-semi": 2,
101-
"no-wrap-func": 2,
99+
"semi-spacing": 2,
100+
"no-underscore-dangle": 2,
101+
"no-extra-parens": 2,
102102
"quotes": [
103103
2,
104104
"single",
@@ -113,7 +113,15 @@
113113
2,
114114
"always"
115115
],
116-
"space-in-brackets": [
116+
"object-curly-spacing": [
117+
2,
118+
"never"
119+
],
120+
"array-bracket-spacing": [
121+
2,
122+
"never"
123+
],
124+
"computed-property-spacing": [
117125
2,
118126
"never"
119127
],
@@ -122,12 +130,11 @@
122130
"space-unary-ops": 2,
123131
"one-var": 2,
124132
"wrap-regex": 2,
125-
"no-underscore-dangle": 2,
126133

127134
"no-extra-boolean-cast": 1,
128135
"no-console": 1,
129136
"no-alert": 1,
130-
"no-empty-class": 1,
137+
"no-empty-character-class": 1,
131138
"no-ex-assign": 1,
132139
"no-func-assign": 1,
133140
"valid-jsdoc": 1,

0 commit comments

Comments
 (0)