diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-12 18:05:48 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-12 18:05:48 +0300 |
commit | 3694e2cd26cc32e94c8baf215cf246d83b38c4d3 (patch) | |
tree | 3ee9762820eb0245f8e04adf80c3bd33d464ea1b | |
parent | 15e5ead2d15d1726772c82544462b0acbdb227fa (diff) | |
download | eslint-config-3694e2cd26cc32e94c8baf215cf246d83b38c4d3.tar.xz eslint-config-3694e2cd26cc32e94c8baf215cf246d83b38c4d3.zip |
feat(rules): Added the basic rules structure
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | src/rules/eslint.json | 280 | ||||
-rw-r--r-- | src/rules/typescript-eslint.json | 89 |
2 files changed, 369 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json new file mode 100644 index 0000000..c2194e8 --- /dev/null +++ b/src/rules/eslint.json @@ -0,0 +1,280 @@ +{ + "accessor-pairs": null, + "array-bracket-newline": null, + "array-bracket-spacing": null, + "array-callback-return": null, + "array-element-newline": null, + "arrow-body-style": null, + "arrow-parens": null, + "arrow-spacing": null, + "block-scoped-var": null, + "block-spacing": null, + "brace-style": null, + "callback-return": null, + "camelcase": null, + "capitalized-comments": null, + "class-methods-use-this": null, + "comma-dangle": null, + "comma-spacing": null, + "comma-style": null, + "complexity": null, + "computed-property-spacing": null, + "consistent-return": null, + "consistent-this": null, + "constructor-super": null, + "curly": null, + "default-case": null, + "default-case-last": null, + "default-param-last": null, + "dot-location": null, + "dot-notation": null, + "eol-last": null, + "eqeqeq": null, + "for-direction": null, + "func-call-spacing": null, + "func-name-matching": null, + "func-names": null, + "func-style": null, + "function-call-argument-newline": null, + "function-paren-newline": null, + "generator-star-spacing": null, + "getter-return": null, + "global-require": null, + "grouped-accessor-pairs": null, + "guard-for-in": null, + "handle-callback-err": null, + "id-blacklist": null, + "id-length": null, + "id-match": null, + "implicit-arrow-linebreak": null, + "indent": null, + "indent-legacy": null, + "init-declarations": null, + "jsx-quotes": null, + "key-spacing": null, + "keyword-spacing": null, + "line-comment-position": null, + "linebreak-style": null, + "lines-around-comment": null, + "lines-around-directive": null, + "lines-between-class-members": null, + "max-classes-per-file": null, + "max-depth": null, + "max-len": null, + "max-lines": null, + "max-lines-per-function": null, + "max-nested-callbacks": null, + "max-params": null, + "max-statements": null, + "max-statements-per-line": null, + "multiline-comment-style": null, + "multiline-ternary": null, + "new-cap": null, + "new-parens": null, + "newline-after-var": null, + "newline-before-return": null, + "newline-per-chained-call": null, + "no-alert": null, + "no-array-constructor": null, + "no-async-promise-executor": null, + "no-await-in-loop": null, + "no-bitwise": null, + "no-buffer-constructor": null, + "no-caller": null, + "no-case-declarations": null, + "no-catch-shadow": null, + "no-class-assign": null, + "no-compare-neg-zero": null, + "no-cond-assign": null, + "no-confusing-arrow": null, + "no-console": null, + "no-const-assign": null, + "no-constant-condition": null, + "no-constructor-return": null, + "no-continue": null, + "no-control-regex": null, + "no-debugger": null, + "no-delete-var": null, + "no-div-regex": null, + "no-dupe-args": null, + "no-dupe-class-members": null, + "no-dupe-else-if": null, + "no-dupe-keys": null, + "no-duplicate-case": null, + "no-duplicate-imports": null, + "no-else-return": null, + "no-empty": null, + "no-empty-character-class": null, + "no-empty-function": null, + "no-empty-pattern": null, + "no-eq-null": null, + "no-eval": null, + "no-ex-assign": null, + "no-extend-native": null, + "no-extra-bind": null, + "no-extra-boolean-cast": null, + "no-extra-label": null, + "no-extra-parens": null, + "no-extra-semi": null, + "no-fallthrough": null, + "no-floating-decimal": null, + "no-func-assign": null, + "no-global-assign": null, + "no-implicit-coercion": null, + "no-implicit-globals": null, + "no-implied-eval": null, + "no-import-assign": null, + "no-inline-comments": null, + "no-inner-declarations": null, + "no-invalid-regexp": null, + "no-invalid-this": null, + "no-irregular-whitespace": null, + "no-iterator": null, + "no-label-var": null, + "no-labels": null, + "no-lone-blocks": null, + "no-lonely-if": null, + "no-loop-func": null, + "no-magic-numbers": null, + "no-misleading-character-class": null, + "no-mixed-operators": null, + "no-mixed-requires": null, + "no-mixed-spaces-and-tabs": null, + "no-multi-assign": null, + "no-multi-spaces": null, + "no-multi-str": null, + "no-multiple-empty-lines": null, + "no-native-reassign": null, + "no-negated-condition": null, + "no-negated-in-lhs": null, + "no-nested-ternary": null, + "no-new": null, + "no-new-func": null, + "no-new-object": null, + "no-new-require": null, + "no-new-symbol": null, + "no-new-wrappers": null, + "no-obj-calls": null, + "no-octal": null, + "no-octal-escape": null, + "no-param-reassign": null, + "no-path-concat": null, + "no-plusplus": null, + "no-process-env": null, + "no-process-exit": null, + "no-proto": null, + "no-prototype-builtins": null, + "no-redeclare": null, + "no-regex-spaces": null, + "no-restricted-exports": null, + "no-restricted-globals": null, + "no-restricted-imports": null, + "no-restricted-modules": null, + "no-restricted-properties": null, + "no-restricted-syntax": null, + "no-return-assign": null, + "no-return-await": null, + "no-script-url": null, + "no-self-assign": null, + "no-self-compare": null, + "no-sequences": null, + "no-setter-return": null, + "no-shadow": null, + "no-shadow-restricted-names": null, + "no-spaced-func": null, + "no-sparse-arrays": null, + "no-sync": null, + "no-tabs": null, + "no-template-curly-in-string": null, + "no-ternary": null, + "no-this-before-super": null, + "no-throw-literal": null, + "no-trailing-spaces": null, + "no-undef": null, + "no-undef-init": null, + "no-undefined": null, + "no-underscore-dangle": null, + "no-unexpected-multiline": null, + "no-unmodified-loop-condition": null, + "no-unneeded-ternary": null, + "no-unreachable": null, + "no-unsafe-finally": null, + "no-unsafe-negation": null, + "no-unused-expressions": null, + "no-unused-labels": null, + "no-unused-vars": null, + "no-use-before-define": null, + "no-useless-backreference": null, + "no-useless-call": null, + "no-useless-catch": null, + "no-useless-computed-key": null, + "no-useless-concat": null, + "no-useless-constructor": null, + "no-useless-escape": null, + "no-useless-rename": null, + "no-useless-return": null, + "no-var": null, + "no-void": null, + "no-warning-comments": null, + "no-whitespace-before-property": null, + "no-with": null, + "nonblock-statement-body-position": null, + "object-curly-newline": null, + "object-curly-spacing": null, + "object-property-newline": null, + "object-shorthand": null, + "one-var": null, + "one-var-declaration-per-line": null, + "operator-assignment": null, + "operator-linebreak": null, + "padded-blocks": null, + "padding-line-between-statements": null, + "prefer-arrow-callback": null, + "prefer-const": null, + "prefer-destructuring": null, + "prefer-exponentiation-operator": null, + "prefer-named-capture-group": null, + "prefer-numeric-literals": null, + "prefer-object-spread": null, + "prefer-promise-reject-errors": null, + "prefer-reflect": null, + "prefer-regex-literals": null, + "prefer-rest-params": null, + "prefer-spread": null, + "prefer-template": null, + "quote-props": null, + "quotes": null, + "radix": null, + "require-atomic-updates": null, + "require-await": null, + "require-jsdoc": null, + "require-unicode-regexp": null, + "require-yield": null, + "rest-spread-spacing": null, + "semi": null, + "semi-spacing": null, + "semi-style": null, + "sort-imports": null, + "sort-keys": null, + "sort-vars": null, + "space-before-blocks": null, + "space-before-function-paren": null, + "space-in-parens": null, + "space-infix-ops": null, + "space-unary-ops": null, + "spaced-comment": null, + "strict": null, + "switch-colon-spacing": null, + "symbol-description": null, + "template-curly-spacing": null, + "template-tag-spacing": null, + "unicode-bom": null, + "use-isnan": null, + "valid-jsdoc": null, + "valid-typeof": null, + "vars-on-top": null, + "wrap-iife": null, + "wrap-regex": null, + "yield-star-spacing": null, + "yoda": null +} diff --git a/src/rules/typescript-eslint.json b/src/rules/typescript-eslint.json new file mode 100644 index 0000000..ff7c59d --- /dev/null +++ b/src/rules/typescript-eslint.json @@ -0,0 +1,89 @@ +{ + "adjacent-overload-signatures": null, + "array-type": null, + "await-thenable": null, + "ban-ts-comment": null, + "ban-ts-ignore": null, + "ban-types": null, + "brace-style": null, + "camelcase": null, + "class-name-casing": null, + "comma-spacing": null, + "consistent-type-assertions": null, + "consistent-type-definitions": null, + "default-param-last": null, + "explicit-function-return-type": null, + "explicit-member-accessibility": null, + "explicit-module-boundary-types": null, + "func-call-spacing": null, + "generic-type-naming": null, + "indent": null, + "interface-name-prefix": null, + "member-delimiter-style": null, + "member-naming": null, + "member-ordering": null, + "naming-convention": null, + "no-array-constructor": null, + "no-dupe-class-members": null, + "no-dynamic-delete": null, + "no-empty-function": null, + "no-empty-interface": null, + "no-explicit-any": null, + "no-extra-non-null-assertion": null, + "no-extra-parens": null, + "no-extra-semi": null, + "no-extraneous-class": null, + "no-floating-promises": null, + "no-for-in-array": null, + "no-implied-eval": null, + "no-inferrable-types": null, + "no-magic-numbers": null, + "no-misused-new": null, + "no-misused-promises": null, + "no-namespace": null, + "no-non-null-asserted-optional-chain": null, + "no-non-null-assertion": null, + "no-parameter-properties": null, + "no-require-imports": null, + "no-this-alias": null, + "no-throw-literal": null, + "no-type-alias": null, + "no-unnecessary-boolean-literal-compare": null, + "no-unnecessary-condition": null, + "no-unnecessary-qualifier": null, + "no-unnecessary-type-arguments": null, + "no-unnecessary-type-assertion": null, + "no-untyped-public-signature": null, + "no-unused-expressions": null, + "no-unused-vars": null, + "no-unused-vars-experimental": null, + "no-use-before-define": null, + "no-useless-constructor": null, + "no-var-requires": null, + "prefer-as-const": null, + "prefer-for-of": null, + "prefer-function-type": null, + "prefer-includes": null, + "prefer-namespace-keyword": null, + "prefer-nullish-coalescing": null, + "prefer-optional-chain": null, + "prefer-readonly": null, + "prefer-regexp-exec": null, + "prefer-string-starts-ends-with": null, + "promise-function-async": null, + "quotes": null, + "require-array-sort-compare": null, + "require-await": null, + "restrict-plus-operands": null, + "restrict-template-expressions": null, + "return-await": null, + "semi": null, + "space-before-function-paren": null, + "strict-boolean-expressions": null, + "switch-exhaustiveness-check": null, + "triple-slash-reference": null, + "type-annotation-spacing": null, + "typedef": null, + "unbound-method": null, + "unified-signatures": null +} |