Eslintrc prefer const

This commit is contained in:
mrfry 2020-12-19 10:54:30 +01:00
parent 56fcb77623
commit 906ab8ee62

View file

@ -31,6 +31,7 @@ module.exports = {
{ exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q', 'a', 'b', 'x'] }, { exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q', 'a', 'b', 'x'] },
], ],
'object-shorthand': ['warn', 'never'], 'object-shorthand': ['warn', 'never'],
'prefer-const': 'warn',
}, },
root: true, root: true,
} }