eslint-config-metarhia
Version:
ESLint config for Metarhia projects
12 lines (10 loc) • 329 B
JavaScript
;
module.exports = {
eqeqeq: ['error', 'always'],
'no-loop-func': ['error'],
'no-self-compare': ['error'],
'no-unmodified-loop-condition': ['error'],
'no-useless-concat': ['error'],
curly: ['error', 'multi-line', 'consistent'],
'consistent-return': ['error', { treatUndefinedAsUnspecified: true }],
};