Created
April 7, 2021 13:56
-
-
Save lolmaus/e1be5655288fca67e53a22b720adf40d to your computer and use it in GitHub Desktop.
Change the color of ESLint syntax highlighting: fixable are blue, non-fixable are yellow. For `vscode-eslint` v2.1.20+. https://github.com/microsoft/vscode-eslint/pull/1164
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "eslint.rules.customizations": [ | |
| { "rule": "*", "severity": "warn" } | |
| { "rule": "no-extra-boolean-cast", "severity": "info" }, | |
| { "rule": "no-extra-parens", "severity": "info" }, | |
| { "rule": "no-extra-semi", "severity": "info" }, | |
| { "rule": "no-regex-spaces", "severity": "info" }, | |
| { "rule": "curly", "severity": "info" }, | |
| { "rule": "dot-location", "severity": "info" }, | |
| { "rule": "dot-notation", "severity": "info" }, | |
| { "rule": "eqeqeq", "severity": "info" }, | |
| { "rule": "no-div-regex", "severity": "info" }, | |
| { "rule": "no-else-return", "severity": "info" }, | |
| { "rule": "no-extra-bind", "severity": "info" }, | |
| { "rule": "no-extra-label", "severity": "info" }, | |
| { "rule": "no-floating-decimal", "severity": "info" }, | |
| { "rule": "no-implicit-coercion", "severity": "info" }, | |
| { "rule": "no-multi-spaces", "severity": "info" }, | |
| { "rule": "no-unused-labels", "severity": "info" }, | |
| { "rule": "no-useless-return", "severity": "info" }, | |
| { "rule": "wrap-iife", "severity": "info" }, | |
| { "rule": "yoda", "severity": "info" }, | |
| { "rule": "strict", "severity": "info" }, | |
| { "rule": "no-undef-init", "severity": "info" }, | |
| { "rule": "array-bracket-newline", "severity": "info" }, | |
| { "rule": "array-bracket-spacing", "severity": "info" }, | |
| { "rule": "array-element-newline", "severity": "info" }, | |
| { "rule": "block-spacing", "severity": "info" }, | |
| { "rule": "brace-style", "severity": "info" }, | |
| { "rule": "capitalized-comments", "severity": "info" }, | |
| { "rule": "comma-dangle", "severity": "info" }, | |
| { "rule": "comma-spacing", "severity": "info" }, | |
| { "rule": "comma-style", "severity": "info" }, | |
| { "rule": "computed-property-spacing", "severity": "info" }, | |
| { "rule": "eol-last", "severity": "info" }, | |
| { "rule": "func-call-spacing", "severity": "info" }, | |
| { "rule": "function-call-argument-newline", "severity": "info" }, | |
| { "rule": "function-paren-newline", "severity": "info" }, | |
| { "rule": "implicit-arrow-linebreak", "severity": "info" }, | |
| { "rule": "indent", "severity": "info" }, | |
| { "rule": "jsx-quotes", "severity": "info" }, | |
| { "rule": "key-spacing", "severity": "info" }, | |
| { "rule": "keyword-spacing", "severity": "info" }, | |
| { "rule": "linebreak-style", "severity": "info" }, | |
| { "rule": "lines-around-comment", "severity": "info" }, | |
| { "rule": "lines-between-class-members", "severity": "info" }, | |
| { "rule": "multiline-comment-style", "severity": "info" }, | |
| { "rule": "multiline-ternary", "severity": "info" }, | |
| { "rule": "new-parens", "severity": "info" }, | |
| { "rule": "newline-per-chained-call", "severity": "info" }, | |
| { "rule": "no-lonely-if", "severity": "info" }, | |
| { "rule": "no-multiple-empty-lines", "severity": "info" }, | |
| { "rule": "no-trailing-spaces", "severity": "info" }, | |
| { "rule": "no-unneeded-ternary", "severity": "info" }, | |
| { "rule": "no-whitespace-before-property", "severity": "info" }, | |
| { "rule": "nonblock-statement-body-position", "severity": "info" }, | |
| { "rule": "object-curly-newline", "severity": "info" }, | |
| { "rule": "object-curly-spacing", "severity": "info" }, | |
| { "rule": "object-property-newline", "severity": "info" }, | |
| { "rule": "one-var", "severity": "info" }, | |
| { "rule": "one-var-declaration-per-line", "severity": "info" }, | |
| { "rule": "operator-assignment", "severity": "info" }, | |
| { "rule": "operator-linebreak", "severity": "info" }, | |
| { "rule": "padded-blocks", "severity": "info" }, | |
| { "rule": "padding-line-between-statements", "severity": "info" }, | |
| { "rule": "prefer-exponentiation-operator", "severity": "info" }, | |
| { "rule": "prefer-object-spread", "severity": "info" }, | |
| { "rule": "quote-props", "severity": "info" }, | |
| { "rule": "quotes", "severity": "info" }, | |
| { "rule": "semi", "severity": "info" }, | |
| { "rule": "semi-spacing", "severity": "info" }, | |
| { "rule": "semi-style", "severity": "info" }, | |
| { "rule": "sort-vars", "severity": "info" }, | |
| { "rule": "space-before-blocks", "severity": "info" }, | |
| { "rule": "space-before-function-paren", "severity": "info" }, | |
| { "rule": "space-in-parens", "severity": "info" }, | |
| { "rule": "space-infix-ops", "severity": "info" }, | |
| { "rule": "space-unary-ops", "severity": "info" }, | |
| { "rule": "spaced-comment", "severity": "info" }, | |
| { "rule": "switch-colon-spacing", "severity": "info" }, | |
| { "rule": "template-tag-spacing", "severity": "info" }, | |
| { "rule": "unicode-bom", "severity": "info" }, | |
| { "rule": "wrap-regex", "severity": "info" }, | |
| { "rule": "arrow-body-style", "severity": "info" }, | |
| { "rule": "arrow-parens", "severity": "info" }, | |
| { "rule": "arrow-spacing", "severity": "info" }, | |
| { "rule": "generator-star-spacing", "severity": "info" }, | |
| { "rule": "no-confusing-arrow", "severity": "info" }, | |
| { "rule": "no-useless-computed-key", "severity": "info" }, | |
| { "rule": "no-useless-rename", "severity": "info" }, | |
| { "rule": "no-var", "severity": "info" }, | |
| { "rule": "object-shorthand", "severity": "info" }, | |
| { "rule": "prefer-arrow-callback", "severity": "info" }, | |
| { "rule": "prefer-const", "severity": "info" }, | |
| { "rule": "prefer-destructuring", "severity": "info" }, | |
| { "rule": "prefer-numeric-literals", "severity": "info" }, | |
| { "rule": "prefer-template", "severity": "info" }, | |
| { "rule": "rest-spread-spacing", "severity": "info" }, | |
| { "rule": "sort-imports", "severity": "info" }, | |
| { "rule": "template-curly-spacing", "severity": "info" }, | |
| { "rule": "yield-star-spacing", "severity": "info" }, | |
| { "rule": "@typescript-eslint/array-type", "severity": "info" }, | |
| { "rule": "@typescript-eslint/ban-tslint-comment", "severity": "info" }, | |
| { "rule": "@typescript-eslint/ban-types", "severity": "info" }, | |
| { "rule": "@typescript-eslint/class-literal-property-style", "severity": "info" }, | |
| { "rule": "@typescript-eslint/consistent-indexed-object-style", "severity": "info" }, | |
| { "rule": "@typescript-eslint/consistent-type-definitions", "severity": "info" }, | |
| { "rule": "@typescript-eslint/consistent-type-imports", "severity": "info" }, | |
| { "rule": "@typescript-eslint/explicit-member-accessibility", "severity": "info" }, | |
| { "rule": "@typescript-eslint/member-delimiter-style", "severity": "info" }, | |
| { "rule": "@typescript-eslint/method-signature-style", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-confusing-non-null-assertion", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-confusing-void-expression", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-dynamic-delete", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-empty-interface", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-explicit-any", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-extra-non-null-assertion", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-implicit-any-catch", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-inferrable-types", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-unnecessary-boolean-literal-compare", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-unnecessary-condition", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-unnecessary-qualifier", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-unnecessary-type-arguments", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-unnecessary-type-assertion", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-unnecessary-type-constraint", "severity": "info" }, | |
| { "rule": "@typescript-eslint/non-nullable-type-assertion-style", "severity": "info" }, | |
| { "rule": "@typescript-eslint/prefer-as-const", "severity": "info" }, | |
| { "rule": "@typescript-eslint/prefer-function-type", "severity": "info" }, | |
| { "rule": "@typescript-eslint/prefer-includes", "severity": "info" }, | |
| { "rule": "@typescript-eslint/prefer-namespace-keyword", "severity": "info" }, | |
| { "rule": "@typescript-eslint/prefer-readonly", "severity": "info" }, | |
| { "rule": "@typescript-eslint/prefer-reduce-type-parameter", "severity": "info" }, | |
| { "rule": "@typescript-eslint/prefer-string-starts-ends-with", "severity": "info" }, | |
| { "rule": "@typescript-eslint/prefer-ts-expect-error", "severity": "info" }, | |
| { "rule": "@typescript-eslint/promise-function-async", "severity": "info" }, | |
| { "rule": "@typescript-eslint/sort-type-union-intersection-members", "severity": "info" }, | |
| { "rule": "@typescript-eslint/strict-boolean-expressions", "severity": "info" }, | |
| { "rule": "@typescript-eslint/type-annotation-spacing", "severity": "info" }, | |
| { "rule": "@typescript-eslint/brace-style", "severity": "info" }, | |
| { "rule": "@typescript-eslint/comma-dangle", "severity": "info" }, | |
| { "rule": "@typescript-eslint/comma-spacing", "severity": "info" }, | |
| { "rule": "@typescript-eslint/dot-notation", "severity": "info" }, | |
| { "rule": "@typescript-eslint/func-call-spacing", "severity": "info" }, | |
| { "rule": "@typescript-eslint/indent", "severity": "info" }, | |
| { "rule": "@typescript-eslint/keyword-spacing", "severity": "info" }, | |
| { "rule": "@typescript-eslint/lines-between-class-members", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-array-constructor", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-extra-parens", "severity": "info" }, | |
| { "rule": "@typescript-eslint/no-extra-semi", "severity": "info" }, | |
| { "rule": "@typescript-eslint/object-curly-spacing", "severity": "info" }, | |
| { "rule": "@typescript-eslint/quotes", "severity": "info" }, | |
| { "rule": "@typescript-eslint/return-await", "severity": "info" }, | |
| { "rule": "@typescript-eslint/semi", "severity": "info" }, | |
| { "rule": "@typescript-eslint/space-before-function-paren", "severity": "info" }, | |
| { "rule": "@typescript-eslint/space-infix-ops", "severity": "info" }, | |
| { "rule": "prettier/prettier", "severity": "info" } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| no-extra-boolean-cast | |
| no-extra-parens | |
| no-extra-semi | |
| no-regex-spaces | |
| curly | |
| dot-location | |
| dot-notation | |
| eqeqeq | |
| no-div-regex | |
| no-else-return | |
| no-extra-bind | |
| no-extra-label | |
| no-floating-decimal | |
| no-implicit-coercion | |
| no-multi-spaces | |
| no-unused-labels | |
| no-useless-return | |
| wrap-iife | |
| yoda | |
| strict | |
| no-undef-init | |
| array-bracket-newline | |
| array-bracket-spacing | |
| array-element-newline | |
| block-spacing | |
| brace-style | |
| capitalized-comments | |
| comma-dangle | |
| comma-spacing | |
| comma-style | |
| computed-property-spacing | |
| eol-last | |
| func-call-spacing | |
| function-call-argument-newline | |
| function-paren-newline | |
| implicit-arrow-linebreak | |
| indent | |
| jsx-quotes | |
| key-spacing | |
| keyword-spacing | |
| linebreak-style | |
| lines-around-comment | |
| lines-between-class-members | |
| multiline-comment-style | |
| multiline-ternary | |
| new-parens | |
| newline-per-chained-call | |
| no-lonely-if | |
| no-multiple-empty-lines | |
| no-trailing-spaces | |
| no-unneeded-ternary | |
| no-whitespace-before-property | |
| nonblock-statement-body-position | |
| object-curly-newline | |
| object-curly-spacing | |
| object-property-newline | |
| one-var | |
| one-var-declaration-per-line | |
| operator-assignment | |
| operator-linebreak | |
| padded-blocks | |
| padding-line-between-statements | |
| prefer-exponentiation-operator | |
| prefer-object-spread | |
| quote-props | |
| quotes | |
| semi | |
| semi-spacing | |
| semi-style | |
| sort-vars | |
| space-before-blocks | |
| space-before-function-paren | |
| space-in-parens | |
| space-infix-ops | |
| space-unary-ops | |
| spaced-comment | |
| switch-colon-spacing | |
| template-tag-spacing | |
| unicode-bom | |
| wrap-regex | |
| arrow-body-style | |
| arrow-parens | |
| arrow-spacing | |
| generator-star-spacing | |
| no-confusing-arrow | |
| no-useless-computed-key | |
| no-useless-rename | |
| no-var | |
| object-shorthand | |
| prefer-arrow-callback | |
| prefer-const | |
| prefer-destructuring | |
| prefer-numeric-literals | |
| prefer-template | |
| rest-spread-spacing | |
| sort-imports | |
| template-curly-spacing | |
| yield-star-spacing | |
| @typescript-eslint/array-type | |
| @typescript-eslint/ban-tslint-comment | |
| @typescript-eslint/ban-types | |
| @typescript-eslint/class-literal-property-style | |
| @typescript-eslint/consistent-indexed-object-style | |
| @typescript-eslint/consistent-type-definitions | |
| @typescript-eslint/consistent-type-imports | |
| @typescript-eslint/explicit-member-accessibility | |
| @typescript-eslint/member-delimiter-style | |
| @typescript-eslint/method-signature-style | |
| @typescript-eslint/no-confusing-non-null-assertion | |
| @typescript-eslint/no-confusing-void-expression | |
| @typescript-eslint/no-dynamic-delete | |
| @typescript-eslint/no-empty-interface | |
| @typescript-eslint/no-explicit-any | |
| @typescript-eslint/no-extra-non-null-assertion | |
| @typescript-eslint/no-implicit-any-catch | |
| @typescript-eslint/no-inferrable-types | |
| @typescript-eslint/no-unnecessary-boolean-literal-compare | |
| @typescript-eslint/no-unnecessary-condition | |
| @typescript-eslint/no-unnecessary-qualifier | |
| @typescript-eslint/no-unnecessary-type-arguments | |
| @typescript-eslint/no-unnecessary-type-assertion | |
| @typescript-eslint/no-unnecessary-type-constraint | |
| @typescript-eslint/non-nullable-type-assertion-style | |
| @typescript-eslint/prefer-as-const | |
| @typescript-eslint/prefer-function-type | |
| @typescript-eslint/prefer-includes | |
| @typescript-eslint/prefer-namespace-keyword | |
| @typescript-eslint/prefer-readonly | |
| @typescript-eslint/prefer-reduce-type-parameter | |
| @typescript-eslint/prefer-string-starts-ends-with | |
| @typescript-eslint/prefer-ts-expect-error | |
| @typescript-eslint/promise-function-async | |
| @typescript-eslint/sort-type-union-intersection-members | |
| @typescript-eslint/strict-boolean-expressions | |
| @typescript-eslint/type-annotation-spacing | |
| @typescript-eslint/brace-style | |
| @typescript-eslint/comma-dangle | |
| @typescript-eslint/comma-spacing | |
| @typescript-eslint/dot-notation | |
| @typescript-eslint/func-call-spacing | |
| @typescript-eslint/indent | |
| @typescript-eslint/keyword-spacing | |
| @typescript-eslint/lines-between-class-members | |
| @typescript-eslint/no-array-constructor | |
| @typescript-eslint/no-extra-parens | |
| @typescript-eslint/no-extra-semi | |
| @typescript-eslint/object-curly-spacing | |
| @typescript-eslint/quotes | |
| @typescript-eslint/return-await | |
| @typescript-eslint/semi | |
| @typescript-eslint/space-before-function-paren | |
| @typescript-eslint/space-infix-ops | |
| prettier/prettier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment