Przeglądaj źródła

remove rules that not use in ESlint 1.0.0 later

kazuya kawaguchi 10 lat temu
rodzic
commit
cdcf4f7c67
2 zmienionych plików z 0 dodań i 24 usunięć
  1. 0 12
      .eslintrc
  2. 0 12
      test/.eslintrc

+ 0 - 12
.eslintrc

@@ -30,9 +30,7 @@
     "eqeqeq": [2, "allow-null"],
     "func-names": 0,
     "func-style": 0,
-    "generator-star": 0,
     "generator-star-spacing": [2, { "before": true, "after": true }],
-    "global-strict": 0,
     "guard-for-in": 0,
     "handle-callback-err": [2, "^(err|error)$" ],
     "indent": [2, 2],
@@ -52,7 +50,6 @@
     "no-bitwise": 0,
     "no-caller": 2,
     "no-catch-shadow": 0,
-    "no-comma-dangle": 0,
     "no-cond-assign": 2,
     "no-console": 0,
     "no-constant-condition": 0,
@@ -67,7 +64,6 @@
     "no-else-return": 0,
     "no-empty": 0,
     "no-empty-character-class": 2,
-    "no-empty-class": 0,
     "no-empty-label": 2,
     "no-eq-null": 0,
     "no-eval": 2,
@@ -77,7 +73,6 @@
     "no-extra-boolean-cast": 2,
     "no-extra-parens": 0,
     "no-extra-semi": 0,
-    "no-extra-strict": 0,
     "no-fallthrough": 2,
     "no-floating-decimal": 2,
     "no-func-assign": 2,
@@ -116,7 +111,6 @@
     "no-proto": 0,
     "no-redeclare": 2,
     "no-regex-spaces": 2,
-    "no-reserved-keys": 0,
     "no-restricted-modules": 0,
     "no-return-assign": 2,
     "no-script-url": 0,
@@ -124,7 +118,6 @@
     "no-sequences": 2,
     "no-shadow": 0,
     "no-shadow-restricted-names": 2,
-    "no-space-before-semi": 0,
     "no-spaced-func": 2,
     "no-sparse-arrays": 2,
     "no-sync": 0,
@@ -146,7 +139,6 @@
     "no-void": 0,
     "no-warning-comments": 0,
     "no-with": 2,
-    "no-wrap-func": 2,
     "object-curly-spacing": 0,
     "object-shorthand": 0,
     "one-var": [2, { "initialized": "never" }],
@@ -160,18 +152,14 @@
     "semi": [2, "never"],
     "semi-spacing": 0,
     "sort-vars": 0,
-    "space-after-function-name": 0,
     "space-after-keywords": [2, "always"],
     "space-before-blocks": [2, "always"],
     "space-before-function-paren": [2, "always"],
-    "space-before-function-parentheses": 0,
-    "space-in-brackets": 0,
     "space-in-parens": [2, "never"],
     "space-infix-ops": 2,
     "space-return-throw-case": 2,
     "space-unary-ops": [2, { "words": true, "nonwords": false }],
     "spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
-    "spaced-line-comment": 0,
     "strict": 0,
     "use-isnan": 2,
     "valid-jsdoc": 0,

+ 0 - 12
test/.eslintrc

@@ -40,9 +40,7 @@
     "eqeqeq": [2, "allow-null"],
     "func-names": 0,
     "func-style": 0,
-    "generator-star": 0,
     "generator-star-spacing": [2, { "before": true, "after": true }],
-    "global-strict": 0,
     "guard-for-in": 0,
     "handle-callback-err": [2, "^(err|error)$" ],
     "indent": [2, 2],
@@ -62,7 +60,6 @@
     "no-bitwise": 0,
     "no-caller": 2,
     "no-catch-shadow": 0,
-    "no-comma-dangle": 0,
     "no-cond-assign": 2,
     "no-console": 0,
     "no-constant-condition": 0,
@@ -77,7 +74,6 @@
     "no-else-return": 0,
     "no-empty": 0,
     "no-empty-character-class": 2,
-    "no-empty-class": 0,
     "no-empty-label": 2,
     "no-eq-null": 0,
     "no-eval": 2,
@@ -87,7 +83,6 @@
     "no-extra-boolean-cast": 2,
     "no-extra-parens": 0,
     "no-extra-semi": 0,
-    "no-extra-strict": 0,
     "no-fallthrough": 2,
     "no-floating-decimal": 2,
     "no-func-assign": 2,
@@ -126,7 +121,6 @@
     "no-proto": 0,
     "no-redeclare": 2,
     "no-regex-spaces": 2,
-    "no-reserved-keys": 0,
     "no-restricted-modules": 0,
     "no-return-assign": 2,
     "no-script-url": 0,
@@ -134,7 +128,6 @@
     "no-sequences": 2,
     "no-shadow": 0,
     "no-shadow-restricted-names": 2,
-    "no-space-before-semi": 0,
     "no-spaced-func": 2,
     "no-sparse-arrays": 2,
     "no-sync": 0,
@@ -156,7 +149,6 @@
     "no-void": 0,
     "no-warning-comments": 0,
     "no-with": 2,
-    "no-wrap-func": 2,
     "object-curly-spacing": 0,
     "object-shorthand": 0,
     "one-var": [2, { "initialized": "never" }],
@@ -170,18 +162,14 @@
     "semi": [2, "never"],
     "semi-spacing": 0,
     "sort-vars": 0,
-    "space-after-function-name": 0,
     "space-after-keywords": [2, "always"],
     "space-before-blocks": [2, "always"],
     "space-before-function-paren": [2, "always"],
-    "space-before-function-parentheses": 0,
-    "space-in-brackets": 0,
     "space-in-parens": [2, "never"],
     "space-infix-ops": 2,
     "space-return-throw-case": 2,
     "space-unary-ops": [2, { "words": true, "nonwords": false }],
     "spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
-    "spaced-line-comment": 0,
     "strict": 0,
     "use-isnan": 2,
     "valid-jsdoc": 0,