eslint-config-sanjagh
Version:
Sanjagh's shareable ESLint config
24 lines (14 loc) • 422 B
JavaScript
module.exports = {
rules: {
'no-useless-escape': 'error',
'wrap-iife': ['error', 'outside'],
'no-loop-func': 'error',
'no-new-func': 'error',
'no-param-reassign': 'error',
'no-iterator': 'error',
'dot-notation': ['error', { allowKeywords: true }],
eqeqeq: ['error', 'always'],
'no-case-declarations': 'error',
'no-else-return': ['error', { allowElseIf: false }],
},
};