UNPKG

eslint-config-lofter

Version:

lofter eslint config

31 lines (30 loc) 1.08 kB
module.exports = { rules: { "prefer-const": "off", "prefer-destructuring": "off", "space-before-function-paren": "off", "comma-dangle": "off", "semi": "off", "no-trailing-spaces": "off", "no-unused-vars": "warn", 'import/prefer-default-export': 'off', "array-bracket-spacing": "off", "one-var": "off", "eol-last": "warn", "prefer-promise-reject-errors": "off", "no-extra-boolean-cast": "off", "indent": ["warn", 2], "no-multiple-empty-lines": ["warn", { "max": 2}], "quotes": ["warn", "single", { "avoidEscape": true, "allowTemplateLiterals": true }], "import/no-extraneous-dependencies": ["warn", {"devDependencies": true, "optionalDependencies": false, "peerDependencies": false}], "arrow-body-style": "off", "arrow-parens": ["warn", "as-needed"], "no-plusplus": "off", "no-param-reassign": "off", "no-use-before-define": "off", "no-console": "warn", "no-unused-expressions": ["error", {"allowShortCircuit": true}], "prefer-template": "off", "no-delete-var": "off" } }