@jbpionnier/eslint-config-node
Version:
ESLint/TSLint Sharable Config
50 lines (49 loc) • 1.24 kB
JavaScript
module.exports = {
rules: {
'accessor-pairs': 2,
'block-scoped-var': 2,
'curly': 2,
'default-case': 2,
'dot-notation': 2,
'dot-location': [2, 'property'],
'eqeqeq': [2, 'always', { null: 'ignore' }],
'guard-for-in': 2,
'no-alert': 2,
'no-caller': 2,
'no-div-regex': 2,
'no-else-return': 2,
'no-empty-function': 2,
'no-empty-pattern': 2,
'no-eval': 2,
'no-extend-native': 2,
'no-extra-bind': 2,
'no-floating-decimal': 2,
'no-implicit-coercion': 2,
'no-implied-eval': 2,
'no-iterator': 2,
'no-labels': 2,
'no-lone-blocks': 2,
'no-loop-func': 2,
'no-multi-spaces': 2,
'no-global-assign': 2,
'no-new-func': 2,
'no-new-wrappers': 2,
'no-octal-escape': 2,
'no-param-reassign': [2, { props: false }],
'no-proto': 2,
'no-return-assign': [2, 'always'],
'no-script-url': 2,
'no-self-compare': 2,
'no-sequences': 2,
'no-throw-literal': 2,
'no-useless-call': 2,
'no-useless-escape': 2,
'no-void': 2,
'no-with': 2,
'radix': 2,
'no-unmodified-loop-condition': 2,
'array-callback-return': 2,
'wrap-iife': [2, 'any', { functionPrototypeMethods: true }],
'yoda': 2
}
};