UNPKG

eslint-config-interfaced

Version:

ESLint config for the approaches adopted by Interfaced company

33 lines (32 loc) 975 B
arrow-body-style: ["error", "as-needed"] arrow-parens: ["error", "always"] arrow-spacing: "error" constructor-super: "error" generator-star-spacing: "off" no-class-assign: "error" no-confusing-arrow: "off" no-const-assign: "error" no-dupe-class-members: "error" no-duplicate-imports: "error" no-new-symbol: "error" no-restricted-exports: "off" no-restricted-imports: "off" no-this-before-super: "error" no-useless-computed-key: "error" no-useless-constructor: "error" no-useless-rename: "error" no-var: "error" object-shorthand: "off" prefer-arrow-callback: ["error", { allowUnboundThis: false }] prefer-const: ["error", { ignoreReadBeforeAssign: true }] prefer-destructuring: "off" prefer-numeric-literals: "error" prefer-rest-params: "error" prefer-spread: "error" prefer-template: "off" require-yield: "error" rest-spread-spacing: "error" sort-imports: "off" # Handled by import plugin symbol-description: "off" template-curly-spacing: "error" yield-star-spacing: "error"