Releases: vuejs/eslint-config-standard
@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
createAliasSetting
helper; path aliases are now auto-detected injsconfig.json
andtsconfig.json
. - Removed Vue CLI project setup examples.
Internal Changes:
- Dropped
eslint-config-standard
dependency; now maintaining rules internally. - Replaced
eslint-plugin-import
witheslint-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-standard
to 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-standard
with TypeScript support. It no longer extends fromeslint-config-standard-with-typescript
, which has been repurposed aseslint-config-love
and 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-eslint
shared configs.
- Removed most
- Removed the
createAliasSetting
helper 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-promise
v5 as peer dependency.
v6.0.0
- The underlying base config is updated from v14 to v16.
Full changelog at https://github.com/standard/standard/blob/v16.0.3/CHANGELOG.md - Requires ESLint 7
- Other peer dependency versions are also updated to reflect the changes in
standard
v16.