fix: ESLint + Vue no-useless-assingment
This commit is contained in:
parent
96d6507073
commit
710adcaa34
2 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,7 @@ export default [
|
|||
'no-unreachable-loop': 'warn',
|
||||
'no-use-before-define': 'error',
|
||||
'no-useless-assignment': 'error',
|
||||
'no-unused-vars': 'error',
|
||||
|
||||
'arrow-body-style': ['warn', 'as-needed'],
|
||||
'block-scoped-var': 'warn',
|
||||
|
|
|
@ -14,6 +14,9 @@ const vueConfig = defineConfigWithVueTs(
|
|||
{
|
||||
name: "app/files-to-lint",
|
||||
files: ["**/*.{ts,mts,tsx,vue}"],
|
||||
rules: {
|
||||
'no-useless-assignment': 'off' // Depend on `no-unused-vars` to catch this
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue