mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Fix update incompatibility
It seems that prettier supports vue in version `v1.15` and above. See: https://github.com/prettier/prettier/releases/tag/1.15.0 So I guess that interferes with the old vue linter rules in place. I graduated the vlue rule from `recommended` to `essential` and now running `yarn run lint --fix` is doing fine.
This commit is contained in:
parent
4ab08fb472
commit
ec1a24cbd3
@ -10,7 +10,7 @@ module.exports = {
|
||||
},
|
||||
extends: [
|
||||
'standard',
|
||||
'plugin:vue/recommended',
|
||||
'plugin:vue/essential',
|
||||
'plugin:prettier/recommended'
|
||||
],
|
||||
// required to lint *.vue files
|
||||
@ -25,7 +25,9 @@ module.exports = {
|
||||
'no-console': ['error'],
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
|
||||
'prettier/prettier': ['error'],
|
||||
'prettier/prettier': ['error', {
|
||||
htmlWhitespaceSensitivity: 'ignore'
|
||||
}],
|
||||
// 'newline-per-chained-call': [2]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user