-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb5bfd2
commit 121caf8
Showing
4 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
packages/eslint-config-airbnb-with-typescript/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# @vue/eslint-config-airbnb-with-typescript | ||
|
||
## 7.0.0 | ||
|
||
### Major Changes | ||
|
||
- 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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# @vue/eslint-config-airbnb | ||
|
||
## 7.0.0 | ||
|
||
### Major Changes | ||
|
||
- All the eslint plugins 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. | ||
|
||
- This major version adds a lot style / accessibility rules for JSX / `<template>` syntaxes, adapted from the upstream [`eslint-plugin-airbnb`](https://github.com/airbnb/javascript/tree/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb). | ||
You might see many more errors if you are upgrading from older versions of this package. Luckily, most of them are auto-fixable. | ||
|
||
- In this version, we've provided a `createAliasSetting` 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters