UNPKG

eslint-config-aha

Version:
117 lines (116 loc) 1.77 kB
{ "env": { "browser": true, "commonjs": true, "es6": true }, "extends": [ "standard", "standard-jsx", "plugin:you-dont-need-lodash-underscore/compatible" ], "parserOptions": { "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "plugins": [ "react-hooks" ], "rules": { "array-callback-return": [ "error" ], "camelcase": [ "off" ], "comma-dangle": [ "error", "always-multiline" ], "import/first": [ "off" ], "indent": [ "error", 2, { "SwitchCase": 1 } ], "jsx-quotes": [ "off" ], "keyword-spacing": [ "off" ], "linebreak-style": [ "error", "unix" ], "no-duplicate-imports": [ "error" ], "no-extra-parens": [ "error", "all", { "ignoreJSX": "all" } ], "no-implicit-globals": [ "error" ], "no-mixed-operators": [ "off" ], "no-multiple-empty-lines": [ "off" ], "no-return-assign": [ "off" ], "no-useless-concat": [ "error" ], "no-var": [ "error" ], "object-curly-newline": [ "error", { "consistent": true } ], "object-curly-spacing": [ "error", "always" ], "react-hooks/rules-of-hooks": [ "error" ], "prefer-arrow-callback": [ "error" ], "prefer-const": [ "error" ], "prefer-rest-params": [ "error" ], "prefer-spread": [ "error" ], "prefer-template": [ "error" ], "semi": [ "error", "always" ], "space-before-function-paren": [ "off" ] } }