UNPKG

eslint-config-luxjs

Version:
75 lines (74 loc) 2.02 kB
module.exports = { rules: { // Best Practices 'accessor-pairs': ['off'], 'array-callback-return': ['error'], 'block-scoped-var': ['off'], 'complexity': ['error', 15], 'consistent-return': ['off'], 'curly': ['error', 'all'], 'default-case': ['off'], 'dot-location': ['error', 'property'], 'dot-notation': ['error'], 'eqeqeq': ['error'], 'guard-for-in': ['off'], 'no-alert': ['error'], 'no-caller': ['off'], 'no-case-declarations': ['error'], 'no-div-regex': ['off'], 'no-else-return': ['off'], 'no-empty-function': ['error'], 'no-empty-pattern': ['off'], 'no-eq-null': ['off'], 'no-eval': ['error'], 'no-extend-native': ['off'], 'no-extra-bind': ['off'], 'no-extra-label': ['off'], 'no-fallthrough': ['off'], 'no-floating-decimal': ['error'], 'no-implicit-coercion': ['error'], 'no-implicit-globals': ['off'], 'no-implied-eval': ['off'], 'no-invalid-this': ['off'], 'no-iterator': ['off'], 'no-labels': ['off'], 'no-lone-blocks': ['error'], 'no-loop-func': ['error'], 'no-magic-numbers': ['off'], 'no-multi-spaces': ['error', { exceptions: { Property: true, ObjectExpression: true, }, }], 'no-multi-str': ['off'], 'no-native-reassign': ['off'], 'no-new': ['off'], 'no-new-func': ['off'], 'no-new-wrappers': ['off'], 'no-octal': ['off'], 'no-octal-escape': ['off'], 'no-param-reassign': ['off'], 'no-proto': ['off'], 'no-redeclare': ['error'], 'no-return-assign': ['off'], 'no-script-url': ['off'], 'no-self-assign': ['off'], 'no-self-compare': ['off'], 'no-sequences': ['off'], 'no-throw-literal': ['error'], 'no-unmodified-loop-condition': ['off'], 'no-unused-expressions': ['error'], 'no-unused-labels': ['off'], 'no-useless-call': ['off'], 'no-useless-concat': ['off'], 'no-useless-escape': ['off'], 'no-void': ['off'], 'no-warning-comments': ['off'], 'no-with': ['error'], 'radix': ['error', 'always'], 'vars-on-top': ['off'], 'wrap-iife': ['off'], 'yoda': ['off'], }, };