Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not lint *.ts files in plugins/, server/ etc. #318

Closed
safejace opened this issue Dec 7, 2023 · 2 comments
Closed

Does not lint *.ts files in plugins/, server/ etc. #318

safejace opened this issue Dec 7, 2023 · 2 comments

Comments

@safejace
Copy link

safejace commented Dec 7, 2023

one of the features is "Nuxt-specific rules for pages, components and more."

does the more include the *.ts files, cuz right now it's not working for me :(

if not, is there a recommended way to lint and entire Nuxt project?

@antfu
Copy link
Member

antfu commented Dec 8, 2023

It's deps on if you want only linting or also formatting. Nuxt eslint-config is unopinionated, meaning it does not format your files. You can use a formatter like Prettier along side, or you can try to add https://eslint.style/ rules (which is out-of-scope of this config)

@antfu
Copy link
Member

antfu commented Mar 19, 2024

With #332 it should improve the situation. We will also try to introduce a more "opiniated" config for opt-in as we go.

@antfu antfu closed this as completed Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants