Skip to content

chore: enable some eslint rules#18084

Merged
patak-cat merged 7 commits intomainfrom
eslint-update
Sep 12, 2024
Merged

chore: enable some eslint rules#18084
patak-cat merged 7 commits intomainfrom
eslint-update

Conversation

@bluwy
Copy link
Copy Markdown
Member

@bluwy bluwy commented Sep 12, 2024

Description

Enable some rules in the eslint config marked TODO. Some are still disabled for playground code.

I left some as 'off' still as it felt like the better default for us.

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@bluwy bluwy changed the title chore: enable @typescript-eslint/no-unused-vars chore: enable some eslint rules Sep 12, 2024
sapphi-red
sapphi-red previously approved these changes Sep 12, 2024
Copy link
Copy Markdown
Member

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Comment thread packages/vite/src/node/plugins/css.ts Outdated
Co-authored-by: 翠 / green <green@sapphi.red>
Copy link
Copy Markdown
Member

@patak-cat patak-cat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Great to see plain ifs enforced

@patak-cat patak-cat merged commit e9a2746 into main Sep 12, 2024
@patak-cat patak-cat deleted the eslint-update branch September 12, 2024 09:28
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
Co-authored-by: 翠 / green <green@sapphi.red>
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

Successfully merging this pull request may close these issues.

3 participants