vuejs / eslint-config-typescript

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

fix: disable no-undef as recommended #51

Closed LinusBorg closed 1 year ago

LinusBorg commented 1 year ago

We strongly recommend that you do not use the no-undef lint rule on TypeScript projects. The checks it provides are already provided by TypeScript without the need for configuration - TypeScript just does this significantly better.

https://typescript-eslint.io/linting/troubleshooting#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors

close: #50