vuejs / eslint-config-typescript

ESLint configuration for Vue 3 + TypeScript projects
MIT License
133 stars 30 forks source link

Rules ignored with eslint 9 #88

Closed DavidVaness closed 1 month ago

DavidVaness commented 1 month ago

Hey guys, maybe I am lost in the migration, but I am unable to toggle off / change any eslint rules.

[
  {
    ignores: ['dist/**'],
  },
  ...pluginVue.configs['flat/recommended'],
  ...vueTsEslintConfig(),
    {
      files: ["**/*.{.vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts}"],
      rules: {
       'no-unused-vars': 'off',
        "@typescript-eslint/no-unused-vars": 'off',
  }
]

@typescript-eslint/no-unused-vars still errors

"@vue/eslint-config-typescript": "14.0.0" "eslint-plugin-vue": "9.28.0",

haoqunjiang commented 1 month ago

*.{.vue

Extraneous dot.

DavidVaness commented 1 month ago

*.{.vue

Extraneous dot.

Thank you sir, apparently I dropped my glasses somewhere