eslint-config-arnellebalane
Version:
My personal ESLint configuration.
44 lines (43 loc) • 1.56 kB
JavaScript
module.exports = {
rules: {
'for-direction': ['error'],
'getter-return': ['error'],
'no-async-promise-executor': ['off'],
'no-await-in-loop': ['off'],
'no-compare-neg-zero': ['error'],
'no-cond-assign': ['error', 'except-parens'],
'no-console': ['off'],
'no-constant-condition': ['error'],
'no-control-regex': ['error'],
'no-debugger': ['error'],
'no-dupe-args': ['error'],
'no-dupe-keys': ['error'],
'no-duplicate-case': ['error'],
'no-empty': ['error', {
allowEmptyCatch: true
}],
'no-empty-character-class': ['error'],
'no-ex-assign': ['error'],
'no-extra-boolean-cast': ['off'],
'no-extra-parens': ['off'],
'no-extra-semi': ['error'],
'no-func-assign': ['error'],
'no-inner-declarations': ['error', 'functions'],
'no-invalid-regexp': ['error'],
'no-irregular-whitespace': ['error'],
'no-misleading-character-class': ['off'],
'no-obj-calls': ['error'],
'no-prototype-builtins': ['off'],
'no-regex-spaces': ['error'],
'no-sparse-arrays': ['error'],
'no-template-curly-in-string': ['warn'],
'no-unexpected-multiline': ['error'],
'no-unreachable': ['error'],
'no-unsafe-finally': ['error'],
'no-unsafe-negation': ['error'],
'require-atomic-updates': ['error'],
'use-isnan': ['error'],
'valid-jsdoc': ['off'],
'valid-typeof': ['error']
}
};