Releases: vuejs/eslint-config-airbnb
Releases · vuejs/eslint-config-airbnb
v8.0.0
What's Changed
- feat!: apply more airbnb rules to vue template 05a0f18
- feat!: upgrade
@typescript-eslint/*
to v6 by @satouriko in #61
Full Changelog: v7.0.1...v8.0.0
v7.0.1
What's Changed
- docs: fix typo by @torstengoerner in #51
- fix: remove no-setup-props-destructure by @satouriko in #59
- docs: fix missing comma and typo in configuration example by @MrStanDu33 in #52
New Contributors
- @torstengoerner made their first contribution in #51
- @satouriko made their first contribution in #59
- @MrStanDu33 made their first contribution in #52
Full Changelog: v7.0.0...v7.0.1
v7.0.0
@vue/eslint-config-airbnb
-
Better Integration with
All the eslint plugins are listed as@rushstack/eslint-patch
dependencies
, rather thanpeerDependencies
.
So when using these configs with@rushstack/eslint-patch
, you no longer have to install the plugins separately. -
More Strict JSX / Template Rules
This major version adds a lot style / accessibility rules for JSX /<template>
syntaxes, adapted from the upstreameslint-plugin-airbnb
.
You might see many more errors if you are upgrading from older versions of this package. Luckily, most of them are auto-fixable. -
A Helper Function to Configure Path Aliases
In this version, we've provided acreateAliasSetting
helper to help users configure the path aliases used in the project for ESLint.
So this package is no longer only coupled with@vue/cli
. Explicitly invoking the helper function is also more reliable than the previous auto-detection feature.
@vue/eslint-config-airbnb-with-typescript
A Standalone TypeScript Config Package
When using the Airbnb Style in a TypeScript project, you no longer need to install both @vue/eslint-config-airbnb
and @vue/eslint-config-typescript
.
You can just use the @vue/eslint-config-airbnb-with-typescript
package.
It also provides stricter rules for TypeScript.
For example, by default, only <script lang="ts">
is allowed in .vue
files.
You can opt-in the @vue/eslint-config-airbnb-with-typescript/allow-js-in-vue
config to allow plain JavaScript <script>
s.
It is strongly discouraged to use JSX and TSX syntaxes in .vue
files, but we still provide corresponding configs to allow you opt-in them.
v6.0.0
- cbf533a feat!: update base config to v15, supporting eslint 8
- fcd8c1b feat: make
@vue/cli-service
an optional peer dependency - 4093ced feat: add
eslint-plugin-vuejs-accessibility
v5.3.0
v5.1.0
v5.0.2
v5.0.1
Bug Fixes
- 59a9528 fix: should not complain about node standard libraries, work around a bug in eslint-plugin-import import-js/eslint-plugin-import#1396
v5.0.0
- 9d93e6b
@vue/cli-service
is required as a peer dependency - 5d5e048
eslint-plugin-import
is required as a peer dependency - 49bbed7 update the base config to v14, supports eslint v6 and drops eslint v4 support, see the changelog of eslint-config-airbnb-base for a more complete list of breaking changes