UNPKG

eslint-config-fix-all

Version:
53 lines 1.78 kB
module.exports = { rules: { "no-debugger": "error", "no-extra-boolean-cast": "error", "no-extra-semi": "error", "no-regex-spaces": "error", "no-unsafe-negation": "error", "curly": "error", "dot-notation": "error", "no-multi-spaces": "error", "strict": ["error", "never"], "block-spacing": "error", "brace-style": "error", "comma-dangle": "error", "comma-spacing": "error", "comma-style": "error", "computed-property-spacing": "error", "eol-last": "error", "func-call-spacing": "error", "implicit-arrow-linebreak": "error", "indent": ["error", 2], "jsx-quotes": ["error", "prefer-double"], "key-spacing": "error", "keyword-spacing": "error", "linebreak-style": "error", "no-multiple-empty-lines": "error", "no-trailing-spaces": "error", "no-whitespace-before-property": "error", "object-curly-spacing": ["error", "always"], "quotes": ["error", "single"], "semi": "error", "semi-spacing": "error", "semi-style": ["error", "last"], "space-before-blocks": "error", "space-before-function-paren": ["error", "never"], "space-in-parens": "error", "space-infix-ops": "error", "space-unary-ops": "error", "spaced-comment": ["error", "always"], "switch-colon-spacing": "error", "unicode-bom": "error", "arrow-body-style": ["error", "as-needed"], "arrow-parens": ["error", "as-needed"], "arrow-spacing": "error", "generator-star-spacing": ["error", { "before": false, "after": true }], "no-var": "error", "object-shorthand": ["error", "always"], "prefer-const": "error", "prefer-template": "error", "rest-spread-spacing": ["error", "never"], "template-curly-spacing": ["error", "never"], } };