Skip to content

build(lint): add vitest eslint rules [AR-47371]#138

Merged
StyleShit merged 2 commits into
drivenets:mainfrom
StyleShit:build/AR-47371-vitest-eslint
Feb 11, 2026
Merged

build(lint): add vitest eslint rules [AR-47371]#138
StyleShit merged 2 commits into
drivenets:mainfrom
StyleShit:build/AR-47371-vitest-eslint

Conversation

@StyleShit
Copy link
Copy Markdown
Member

No description provided.

Comment thread eslint.config.base.ts
files: ['**/*.@(test|spec).[tj]s?(x)'],
...vitest.configs.recommended,
rules: {
...vitest.configs.recommended.rules,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe we should also consider some of these "popular" ones:

  • vitest/no-focused-tests
  • vitest/no-disabled-tests
  • vitest/expect-expect
  • vitest/no-conditional-expect
  • vitest/no-standalone-expect

wdyt?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we already have them from the recommended preset
i just added more rules on top of it

@StyleShit StyleShit merged commit 78fdf10 into drivenets:main Feb 11, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants