Releases: nuxt/eslint
Releases · nuxt/eslint
v0.3.1
v0.3.0
🚀 Notable Changes
💡 Expect an introduction blog post to explain in more detail very soon!
With this release, we have unified the ESLint tools across the ecosystem into this single monorepo to have a more maintainable structure. (For a comparison table between packages, please check: https://eslint.nuxt.com/guide/faq#package-disambiguation)
New docs: https://eslint.nuxt.com/
Introduce the new @nuxt/eslint
module, that generates project-aware flat configs. Morden and much more extensible and customizable. Works with ESLint v9.0.0. Learn more at https://eslint.nuxt.com/packages/module.
Features
- module: Generate
withNuxt
function for easer composition - by @antfu in #344 (9c9f8) - Add
@nuxt/eslint-config
for nuxt3 projects - by @danielroe in #247 (bf74a) - Flat config, eslint plugin, and nuxt module - by @antfu, ricardogobbosouza and ModyQyW in #332 (ec142)
- Allow flexible rules customization - by @antfu (6bbc3)
- Turn on
consistent-type-imports
- by @antfu (6a61b) - Integrate with
eslint-typegen
- by @antfu (d2b1c) - Compactible with non-hoist env - by @antfu (1b9df)
- Expose
options
object in generate configs, fix #375 - by @antfu in #375 (84b78) - eslint-config:
- Improve default language options - by @antfu (f48c7)
- Support for multiple src dirs and auto infer directories structure - by @antfu in #370 (a3625)
- Typescript strict by default, make config names more consistent - by @antfu (d77eb)
- Options for typescript, add some snapshot tests - by @antfu (ae2d7)
- Add ignores from
gitignore
by default - by @antfu in #376 (9dfbc) - Enable
import
plugin - by @antfu and autofix-ci[bot] in #378 (d5f6f) - Optional rules for module authors - by @antfu in #377 (983bc)
- Improve vue stylistic settings - by @antfu (24b68)
- module:
Bug Fixes
- Apply recommended typescript rules to vue files as well - by @danielroe (bcef4)
- Exclude subfolders of components folder from name rule - by @jd1378 in #278 (13fcd)
- Try fix windows path resolution - by @antfu (018b7)
- Update package.json files - by @DamianGlowala and @antfu in #367 (c56d1)
- Windows path resolution - by @richard-dp, @antfu and autofix-ci[bot] in #369 (2efd7)
- Add
name
field to@stylistic/eslint-plugin
configuration - by @chadwickellis and @antfu in #374 (d45b2) - Consistent config names - by @antfu (80a05)
- eslint-config:
- Add extra file extensions to globs - by @danielroe (9628a)
- Handle
app.vue
anderror.vue
in customsrcDir
- by @danielroe, @antfu and autofix-ci[bot] in #335 (adda0) - Disable vue stylistic rules by default, close #342 - by @antfu in #342 (ab6bc)
- Disable more vue stylistic rules by default - by @kingyue737 in #349 (14367)
- Enable
vue/multi-word-component-names
for files directly undercomponents
- by @kingyue737 and @antfu in #360 (37ab5)
- eslint-config-legacy:
- eslint-plugin:
- Add browse + node globals - by @davidurco and @antfu in #361 (d8799)
- module:
- Config creation, fix #346 - by @antfu in #346 (2bd83)
- Correctly resolve
withNuxt
type - by @DamianGlowala in #350 (d706c) - Account for
layer.config.components
beingundefined
- by @DamianGlowala in #352 (6b2eb) - Don't resolve path for native modules - by @antfu (5715e)
- Remove duplicated src dirs - by @antfu (0be8e)
Performance
View changes on GitHub
v0.3.0-beta.10
v0.3.0-beta.9
🚀 Features
🐞 Bug Fixes
- Add
name
field to@stylistic/eslint-plugin
configuration - by @chadwickellis and @antfu in #374 (d45b2) - Consistent config names - by @antfu (80a05)
- module: Remove duplicated src dirs - by @antfu (0be8e)
View changes on GitHub
v0.3.0-beta.7
🚀 Features
- eslint-config:
🐞 Bug Fixes
- Windows path resolution - by @richard-dp, @antfu and autofix-ci[bot] in #369 (2efd7)
View changes on GitHub
v0.3.0-beta.8
v0.3.0-beta.6
🐞 Bug Fixes
- Try fix windows path resolution - by @antfu (018b7)
- Update package.json files - by @DamianGlowala and @antfu in #367 (c56d1)
View changes on GitHub
v0.3.0-beta.5
v0.3.0-beta.4
🚀 Features
🐞 Bug Fixes
- eslint-config: Enable
vue/multi-word-component-names
for files directly undercomponents
- by @kingyue737 and @antfu in #360 (37ab5) - eslint-plugin: Add browse + node globals - by @davidurco and @antfu in #361 (d8799)
View changes on GitHub
v0.3.0-beta.3
🐞 Bug Fixes
- eslint-config:
- Disable more vue stylistic rules by default - by @kingyue737 in #349 (14367)
- module:
- Correctly resolve
withNuxt
type - by @DamianGlowala in #350 (d706c) - Account for
layer.config.components
beingundefined
- by @DamianGlowala in #352 (6b2eb)
- Correctly resolve