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

fix: fix vitest config #59

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions mixins/vitest.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ module.exports = {
*/
"vitest/no-duplicate-hooks": "warn",

/**
* This rule aims to eliminate duplicate runs of tests by exporting things from test files.
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-export.md
*/
"vitest/no-export": "error",

/**
* Ensure all tests are executed on your build system.
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
Expand All @@ -80,12 +74,6 @@ module.exports = {
*/
"vitest/no-interpolation-in-snapshots": "error",

/**
* Most functionality offered by Jasmine has been ported to Vitest, and the Jasmine globals will stop working in the future.
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-jasmine-globals.md
*/
"vitest/no-jasmine-globals": "error",

/**
* Prevent having multiple instances of the mocked module.
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
Expand Down Expand Up @@ -122,12 +110,6 @@ module.exports = {
*/
"vitest/valid-expect": "error",

/**
* Ensure promises that include expectations are returned or awaited.
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
*/
"vitest/valid-expect-in-promise": "error",

/**
* Ensure that the titles of Vitest blocks are valid.
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
Expand Down
Loading