@scottrudiger/eslint-config
Version:
An eslint config with my subjective tastes, built atop eslint-config-airbnb-base.
22 lines (21 loc) • 471 B
JavaScript
module.exports = {
'no-restricted-syntax': [
'error',
'ForInStatement',
'LabeledStatement',
'WithStatement',
],
'no-param-reassign': ['error', {props: false}],
'no-cond-assign': ['error', 'except-parens'],
'no-bitwise': ['error', {
int32Hint: true,
allow: [
'>>>',
],
}],
'no-plusplus': 'off',
'no-shadow': 'off',
'no-unused-expressions': 'off',
'func-names': ['error', 'as-needed'],
'consistent-return': 'off',
};