-
Notifications
You must be signed in to change notification settings - Fork 53
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: configs in plugin declaration file #428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There is a lot of issues with type checking but I do not have enough time to fix them. Will look into it when I get time.
If I'm not mistaken, this means we can now do this? {
extends: [vitest.configs.recommended],
files: ["tests/**", "test/**"],
languageOptions: {
globals: {
...vitest.environments.env.globals,
},
},
}, instead of {
files: ["tests/**", "test/**"],
languageOptions: {
globals: {
...vitest.environments.env.globals,
},
},
plugins: {
vitest,
},
rules: {
...vitest.configs.recommended.rules,
},
}, |
@Sparticuz I think I would have done this for something like that: export default tseslint.config(
// ...
{
...vitest.configs.recommended,
...vitest.configs.env,
files: ["tests/**", "test/**"],
},
) The If you don't depend on the files filter it can even be top level. export default tseslint.config(
// ...
vitest.configs.recommended,
vitest.configs.env,
) I'm new to the flat config myself though. |
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
##### [v0.5.4](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.4) ##### Features - support old Eslint configuration - update dependencies ##### [v0.5.3](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.3) ##### Bug Fixes - configs in plugin declaration file ([#428](vitest-dev/eslint-plugin-vitest#428)) ([a554dd2](vitest-dev/eslint-plugin-vitest@a554dd2)) ##### [v0.5.2](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.2) ##### Features - **no-focused-tests:** add autofix ([#424](vitest-dev/eslint-plugin-vitest#424)) ([07be616](vitest-dev/eslint-plugin-vitest@07be616)) ##### [v0.5.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.1) ##### Bug Fixes - **no-focused-tests:** support .each template strings ([#420](vitest-dev/eslint-plugin-vitest#420)) ([36e5b9a](vitest-dev/eslint-plugin-vitest@36e5b9a)) ##### [v0.5.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.5.0) #####‼️ Breaking Change 🚨 This version only supports flat config! If you run into issues consider downgrading and opening an issue ofcourse. **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.5.0...v0.5.0 ##### [v0.4.1](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.1) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.1...v0.4.1 ##### Changes - Remove `max-expect` rule in favor of `max-expects` ##### [v0.4.0](https://github.com/veritem/eslint-plugin-vitest/releases/tag/v0.4.0) ##### Bug Fixes - support ESLint v9 getScope() ([#399](vitest-dev/eslint-plugin-vitest#399)) ([bbe0130](vitest-dev/eslint-plugin-vitest@bbe0130)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.4.0...v0.4.0
Fixes #427
This also fixes the globals values of
env
config. It was previouslywriteable
but the correct iswritable
(all though I don't understand why it's specified as writable in the first place). This was not type checked previously since there are no type constraints withObject.assign
.Side note: I'm noticing that the CI pipeline don't typecheck the code.
pnpm tsc
fails on main for me.