Update eslint settings to not clash with prettier
This commit is contained in:
parent
9a91aaf47c
commit
1fcb0875a0
|
|
@ -19,6 +19,7 @@ module.exports = {
|
||||||
// 'plugin:vue/recommended',
|
// 'plugin:vue/recommended',
|
||||||
'eslint:recommended',
|
'eslint:recommended',
|
||||||
'plugin:@typescript-eslint/eslint-recommended',
|
'plugin:@typescript-eslint/eslint-recommended',
|
||||||
|
'prettier',
|
||||||
],
|
],
|
||||||
// required to lint *.vue files
|
// required to lint *.vue files
|
||||||
plugins: ['vue', '@typescript-eslint'],
|
plugins: ['vue', '@typescript-eslint'],
|
||||||
|
|
@ -37,7 +38,6 @@ module.exports = {
|
||||||
// allow debugger during development
|
// allow debugger during development
|
||||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||||
indent: 'off',
|
indent: 'off',
|
||||||
semi: ['error', 'always'],
|
|
||||||
'space-before-function-paren': 'off',
|
'space-before-function-paren': 'off',
|
||||||
'comma-dangle': 'off',
|
'comma-dangle': 'off',
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue