Releases: vuejs/eslint-config-standard
@vue/[email protected]
@vue/[email protected]
Dependency maintenance.
@vue/[email protected]
Added type declarations.
@vue/[email protected]
What's Changed
- Added support for ESLint ^9.10, Node.js ^18.18.0 || ^20.9.0 || >=21.1.0. Dropped support for older versions.
- Switched to ESLint Flat Config, dropping legacy
.eslintrc*format. - Applied stylistic rules to expressions in
<template>blocks. - Removed
createAliasSettinghelper; path aliases are now auto-detected injsconfig.jsonandtsconfig.json. - Removed Vue CLI project setup examples.
Internal Changes:
- Dropped
eslint-config-standarddependency; now maintaining rules internally. - Replaced
eslint-plugin-importwitheslint-plugin-import-x. - Using stylistic rules from
@stylistic/eslint-plugin. - Updated other dependencies.
Please refer to the README.md for more detailed information.
Full Changelog: https://github.com/vuejs/eslint-config-standard/compare/@vue/[email protected]...@vue/[email protected]
@vue/[email protected]
What's Changed
- Updated
@vue/eslint-config-standardto v9.x, introducing stricter linting rules:- Stylistic rules now also apply to expressions in
<template>blocks.
- Stylistic rules now also apply to expressions in
- This package should be used alongside
@vue/eslint-config-typescript. - This package is now a thin wrapper around
@vue/eslint-config-standardwith TypeScript support. It no longer extends fromeslint-config-standard-with-typescript, which has been repurposed aseslint-config-loveand is now more opinionated. As a result, we:- Removed most
typescript-eslint-specific rules in the previous version as they are not part of the standard style guide. - For stricter rules, please refer to
typescript-eslintshared configs.
- Removed most
- Removed the
createAliasSettinghelper for unconventional TSConfig locations due to low usage and high maintenance.
Please refer to the README.md for more detailed information.
Full Changelog: https://github.com/vuejs/eslint-config-standard/compare/@vue/[email protected]...@vue/[email protected]
@vue/[email protected]
- Remove the "import/extensions" rule, fixes #23
@vue/[email protected]
Better integration with @rushstack/eslint-patch
All the eslint plugins used here are listed as dependencies, rather than peerDependencies.
So when using these configs with @rushstack/eslint-patch, you no longer have to install the plugins separately.
@vue/[email protected]
A Standalone @vue/eslint-config-standard-with-typescript
When using the Standard Style in a TypeScript project, you no longer need to install both @vue/eslint-config-standard and @vue/eslint-config-typescript.
You can just use the @vue/eslint-config-standard-with-typescript package. It also provides stricter rules for TypeScript.
v7.0.0
- The underlying base config is updated from v16 to v17.
Full changelog at https://github.com/standard/standard/blob/v17.0.0/CHANGELOG.md - Requires ESLint 8
v6.1.0
New Features:
- Accept
eslint-plugin-promisev5 as peer dependency.