Skip to content

Commit cdcf4f7

Browse files
committed
remove rules that not use in ESlint 1.0.0 later
1 parent 492b29d commit cdcf4f7

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

.eslintrc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030
"eqeqeq": [2, "allow-null"],
3131
"func-names": 0,
3232
"func-style": 0,
33-
"generator-star": 0,
3433
"generator-star-spacing": [2, { "before": true, "after": true }],
35-
"global-strict": 0,
3634
"guard-for-in": 0,
3735
"handle-callback-err": [2, "^(err|error)$" ],
3836
"indent": [2, 2],
@@ -52,7 +50,6 @@
5250
"no-bitwise": 0,
5351
"no-caller": 2,
5452
"no-catch-shadow": 0,
55-
"no-comma-dangle": 0,
5653
"no-cond-assign": 2,
5754
"no-console": 0,
5855
"no-constant-condition": 0,
@@ -67,7 +64,6 @@
6764
"no-else-return": 0,
6865
"no-empty": 0,
6966
"no-empty-character-class": 2,
70-
"no-empty-class": 0,
7167
"no-empty-label": 2,
7268
"no-eq-null": 0,
7369
"no-eval": 2,
@@ -77,7 +73,6 @@
7773
"no-extra-boolean-cast": 2,
7874
"no-extra-parens": 0,
7975
"no-extra-semi": 0,
80-
"no-extra-strict": 0,
8176
"no-fallthrough": 2,
8277
"no-floating-decimal": 2,
8378
"no-func-assign": 2,
@@ -116,15 +111,13 @@
116111
"no-proto": 0,
117112
"no-redeclare": 2,
118113
"no-regex-spaces": 2,
119-
"no-reserved-keys": 0,
120114
"no-restricted-modules": 0,
121115
"no-return-assign": 2,
122116
"no-script-url": 0,
123117
"no-self-compare": 2,
124118
"no-sequences": 2,
125119
"no-shadow": 0,
126120
"no-shadow-restricted-names": 2,
127-
"no-space-before-semi": 0,
128121
"no-spaced-func": 2,
129122
"no-sparse-arrays": 2,
130123
"no-sync": 0,
@@ -146,7 +139,6 @@
146139
"no-void": 0,
147140
"no-warning-comments": 0,
148141
"no-with": 2,
149-
"no-wrap-func": 2,
150142
"object-curly-spacing": 0,
151143
"object-shorthand": 0,
152144
"one-var": [2, { "initialized": "never" }],
@@ -160,18 +152,14 @@
160152
"semi": [2, "never"],
161153
"semi-spacing": 0,
162154
"sort-vars": 0,
163-
"space-after-function-name": 0,
164155
"space-after-keywords": [2, "always"],
165156
"space-before-blocks": [2, "always"],
166157
"space-before-function-paren": [2, "always"],
167-
"space-before-function-parentheses": 0,
168-
"space-in-brackets": 0,
169158
"space-in-parens": [2, "never"],
170159
"space-infix-ops": 2,
171160
"space-return-throw-case": 2,
172161
"space-unary-ops": [2, { "words": true, "nonwords": false }],
173162
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
174-
"spaced-line-comment": 0,
175163
"strict": 0,
176164
"use-isnan": 2,
177165
"valid-jsdoc": 0,

test/.eslintrc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
"eqeqeq": [2, "allow-null"],
4141
"func-names": 0,
4242
"func-style": 0,
43-
"generator-star": 0,
4443
"generator-star-spacing": [2, { "before": true, "after": true }],
45-
"global-strict": 0,
4644
"guard-for-in": 0,
4745
"handle-callback-err": [2, "^(err|error)$" ],
4846
"indent": [2, 2],
@@ -62,7 +60,6 @@
6260
"no-bitwise": 0,
6361
"no-caller": 2,
6462
"no-catch-shadow": 0,
65-
"no-comma-dangle": 0,
6663
"no-cond-assign": 2,
6764
"no-console": 0,
6865
"no-constant-condition": 0,
@@ -77,7 +74,6 @@
7774
"no-else-return": 0,
7875
"no-empty": 0,
7976
"no-empty-character-class": 2,
80-
"no-empty-class": 0,
8177
"no-empty-label": 2,
8278
"no-eq-null": 0,
8379
"no-eval": 2,
@@ -87,7 +83,6 @@
8783
"no-extra-boolean-cast": 2,
8884
"no-extra-parens": 0,
8985
"no-extra-semi": 0,
90-
"no-extra-strict": 0,
9186
"no-fallthrough": 2,
9287
"no-floating-decimal": 2,
9388
"no-func-assign": 2,
@@ -126,15 +121,13 @@
126121
"no-proto": 0,
127122
"no-redeclare": 2,
128123
"no-regex-spaces": 2,
129-
"no-reserved-keys": 0,
130124
"no-restricted-modules": 0,
131125
"no-return-assign": 2,
132126
"no-script-url": 0,
133127
"no-self-compare": 2,
134128
"no-sequences": 2,
135129
"no-shadow": 0,
136130
"no-shadow-restricted-names": 2,
137-
"no-space-before-semi": 0,
138131
"no-spaced-func": 2,
139132
"no-sparse-arrays": 2,
140133
"no-sync": 0,
@@ -156,7 +149,6 @@
156149
"no-void": 0,
157150
"no-warning-comments": 0,
158151
"no-with": 2,
159-
"no-wrap-func": 2,
160152
"object-curly-spacing": 0,
161153
"object-shorthand": 0,
162154
"one-var": [2, { "initialized": "never" }],
@@ -170,18 +162,14 @@
170162
"semi": [2, "never"],
171163
"semi-spacing": 0,
172164
"sort-vars": 0,
173-
"space-after-function-name": 0,
174165
"space-after-keywords": [2, "always"],
175166
"space-before-blocks": [2, "always"],
176167
"space-before-function-paren": [2, "always"],
177-
"space-before-function-parentheses": 0,
178-
"space-in-brackets": 0,
179168
"space-in-parens": [2, "never"],
180169
"space-infix-ops": 2,
181170
"space-return-throw-case": 2,
182171
"space-unary-ops": [2, { "words": true, "nonwords": false }],
183172
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
184-
"spaced-line-comment": 0,
185173
"strict": 0,
186174
"use-isnan": 2,
187175
"valid-jsdoc": 0,

0 commit comments

Comments
 (0)