- In
typescript
config, settingfilesTypeAware: false
now fully disables the config for running type-aware rules. Same if an empty array is provided. - Added the ability to disable running type-aware rules (or even any TypeScript rules) on the files specified in
enforceTypescriptInScriptSection
option. - Exposed
isInEditor
utility fromis-in-editor
package that checks if the current process is running within a well known editor.
@stylistic/eslint-plugin
: 2.12.1 -> 2.13.0typescript-eslint
: 8.19.1 -> 8.20.0- Enabled a new
no-misused-spread
rule.
- Enabled a new
eslint-config-prettier
: 9.1.0 -> 10.0.1- In v10,
@stylistic/eslint-plugin
is supported, which disables some of@stylistic/*
rules.
- In v10,
eslint-plugin-jest
: 28.10.0 -> 28.11.0eslint-plugin-jest-extended
: 2.4.0 -> 3.0.0eslint-plugin-jsdoc
: 50.6.1 -> 50.6.2eslint-plugin-package-json
: 0.19.0 -> 0.20.0- Enabled a new
no-redundant-files
rule.
- Enabled a new
eslint-plugin-prefer-arrow-functions
: 3.6.0 -> 3.6.2eslint-plugin-tailwindcss
: 3.17.5 -> 3.18.0
- New config:
perfectionist
viaeslint-plugin-perfectionist
, disabled by default. - All dependency versions are now pinned (removed
^
).
eslint-plugin-sonarjs
: 1.0.4 -> 3.0.1- [BREAKING] Significantly changed
sonar
config: added a lot of new rules, some were disabled, some were enabled.
- [BREAKING] Significantly changed
eslint-plugin-prefer-arrow-functions
: 3.4.1 -> 3.6.0@vitest/eslint-plugin
: 1.1.24 -> 1.1.25
- New config:
jsdoc
viaeslint-plugin-jsdoc
, enabled by default. - Changed the severity of all the
eslint-plugin-vue
's recommended rules toerror
(which turned out to bewarn
by default). - Disabled
import/no-default-export
rule for files starting with a dot and Storybook files (files inside.storybook
directory and story files).
typescript-eslint
: 8.18.1 -> 8.19.1@vitest/eslint-plugin
: 1.1.20 -> 1.1.24eslint-plugin-package-json
: 0.18.0 -> 0.19.0
- [BREAKING]
prefer-inline
option ofimport/no-duplicates
rule is now set totrue
. Added an new optionnoDuplicatesOptions
inimport
config to override this behavior. - [BREAKING] Removed
overridesPinia
option fromvue
config in favor of adding the ability to pass more usual config options inpinia
option. - New config:
jest
viaeslint-plugin-jest
, enabled automatically ifjest
package is installed. - New config:
jest-extended
viaeslint-plugin-jest-extended
, enabled automatically if bothjest
andjest-extended
packages are installed. - New config:
vitest
via@vitest/eslint-plugin
, enabled automatically ifvitest
package is installed.
eslint-plugin-import-x
: 4.4.2 -> 4.6.1 &eslint-import-resolver-typescript
: 3.6.3 -> 3.7.0- Start using new
eslint-plugin-import-x
resolver interface.
- Start using new
typescript-eslint
: 8.14.0 -> 8.18.1- Fixes an ESLint 9.15 compatibility issue.
- Enabled a new
related-getter-setter-pairs
rule. - A new
no-unsafe-type-assertion
rule was not enabled by default.
eslint-plugin-jsonc
: 2.18.1 -> 2.18.2- Fixes an ESLint 9.15 compatibility issue.
eslint-plugin-unicorn
: 56.0.0 -> 56.0.1- Fixes an ESLint 9.15 compatibility issue.
@stylistic/eslint-plugin
: 2.10.1 -> 2.12.1eslint-plugin-jest
: 28.9.0 -> 28.10.0eslint-plugin-n
: 17.13.2 -> 17.15.1eslint-plugin-package-json
: 0.15.6 -> 0.18.0overrides
collection is now sorted by default.
eslint-plugin-promise
: 7.1.0 -> 7.2.1- [BREAKING] Replace
allowThen: true
with the newallowThenStrict: true
incatch-or-return
rule. - [BREAKING] Enabled a new
prefer-catch
rule.
- [BREAKING] Replace
eslint-plugin-toml
: 0.11.1 -> 0.12.0eslint-plugin-vue
: 9.31.0 -> 9.32.0- [BREAKING] Enabled a new
slot-name-casing
rule, which enforcescamelCase
for slot names.
- [BREAKING] Enabled a new
eslint-plugin-yml
: 1.15.0 -> 1.16.0
- Fixed a wrong type of
config
eslint-plugin-tailwindcss
plugin setting.
- Added an option to specify
eslint-plugin-tailwindcss
plugin settings. - Allow default export in Nuxt's
app/router.options.ts
file.
- Fixed an issue resulting in files with any extensions being linted in Nuxt custom project directory.
- Fixed an issue resulting in
markdown
processor being applied to all files, effectively ignoring other processors likevue
.
- New config:
markdown
via@eslint/markdown
, enabled by default. - New config:
cssInJs
viaeslint-plugin-css
, enabled by default. - Added a boolean option
overrideIgnores
to completely override globalignores
provided by our config. - Added a
node
config option to configureprefer-global
rule for each feature. - Fixed an issue in
vue
config where Nuxt'sapp.vue
anderror.vue
files in a custom project directory were not recognized. - Dependencies:
eslint-plugin-vue
@9.31.0- Enabled a new
vue/prefer-use-template-ref
rule if vue>=3.5 is installed.
- Enabled a new
- Fixed an issue in
vue
config where recommended rules were not picked up. yaml
: do not enforce casing by default.
- New config:
packageJson
viaeslint-plugin-package-json
. - Dependencies:
eslint-plugin-import-x
@4.4.0- Enable
checkTypeImports
option forimport/extensions
rule.
- Enable
- New config:
json
(for linting .json, .jsonc, .json5 files) viaeslint-plugin-jsonc
. - Support for merging default files with user-specified files via
doNotMergeFilesWithDefault
option foryaml
,toml
andjson
configs. - Dependencies:
typescript-eslint
@8.10.0- Support for TypeScript 5.6.
- New config:
eslintComments
via@eslint-community/eslint-plugin-eslint-comments
. - New config:
toml
viaeslint-plugin-toml
. - Dependencies:
eslint-plugin-unicorn
@56.0.0- Enable
unicorn/consistent-existence-index-check
andunicorn/prefer-math-min-max
rules.
- Enable
eslint-plugin-vue
@9.29.0- Enable
vue/no-deprecated-delete-set
rule for Vue 3.
- Enable
- Dependencies:
typescript-eslint
@8.8.0- Set
checkTypePredicates: true
for@typescript-eslint/no-unnecessary-condition
rule.
- Set
- Vue: trailing slash in user-supplied paths (for example, in
nuxtOrVueProjectDir
) is now optional. - Vue: fixed problems related to the rules applied to wrong files.
- Force no empty lines between import statements by default.
- New configs:
yaml
andprefer-arrow-functions
(both disabled by default). - New option to add an auto fix to remove unused imports (enabled by default).
- Ability to set the same severity for all rules of a config.
- Added an option to control
reportUnusedDisableDirectives
param ofvue/comment-directive
rule. - Dependencies:
eslint-plugin-vue
@9.28.0- Enabled a new
vue/require-default-export
rule. - Added unplugin-vue-router's
definePage
and nuxt'sdefinePageMeta
anddefineRouteRules
macros tovue/define-macros-order
.
- Enabled a new
typescript-eslint
@8.7.0- Enabled a new
@typescript-eslint/no-deprecated
rule.
- Enabled a new
- Internal code refactoring.
- Update dependencies. Highlights:
- Enable new rule:
promise/spec-only
.
- Enable new rule:
- Ensure type safety of
overrides
option. - Set
allowChildren: true
forvuejs-accessibility/label-has-for
.
- Update dependencies. Highlights:
- Update
typescript-eslint
to v8.0.0.
- Update
- Disable
unicorn/no-magic-array-flat-depth
rule. DisallowInfinity
literal.
- Update dependencies. Highlights:
- Update
eslint-plugin-unicorn
to v55.0.0 and enable the newunicorn/no-length-as-slice-end
rule. eslint-plugin-promise
to v7.0.0 and change the minimum node version to 18.18.0.
- Update
- Add an option to disable all the TypeScript type-aware
no-unsafe-*
rules. - Make
FlatConfigEntry
type work with ESLint types for v8.
- Add types to all the rules via
eslint-typegen
. - Update dependencies.
- Automatically add files from
.gitignore
to the list of ignored files. - Allow to specify
.vue
files authored in TypeScript and JavaScript to apply different rules. - Allow to specify pinia stores suffix.
- Added
router-link
,router-view
and Nuxt-specific components to the list of known Vue components. - Disabled
vue/no-boolean-default
rule. - Make sure
prefer-const
rule does not report if any of the destructured variables is reassigned. - Update dependencies.
Initial release.