Skip to content

Commit

Permalink
docs: eslint:recommended is no longer needed in the new version
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Nov 1, 2022
1 parent 0b4cfd6 commit 6ae8871
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ require("@rushstack/eslint-patch/modern-module-resolution")

module.exports = {
extends: [
'eslint:recommended',
'plugin:vue/vue3-essential',
'@vue/eslint-config-typescript'
'@vue/eslint-config-typescript/recommended-requiring-type-checking'
Expand All @@ -55,7 +54,7 @@ module.exports = {

## Migrating from v11.x

- If you extended from `@vue/eslint-config-typescript` in v11.x, you should now extend from `['@vue/eslint-config-typescript/base', '@vue/eslint-config-typescript/allow-jsx-in-vue']` instead.
- If you extended from `@vue/eslint-config-typescript` in v11.x, you should now extend from `['@vue/eslint-config-typescript/eslint-recommended', '@vue/eslint-config-typescript/allow-jsx-in-vue']` instead.
- If you extended from `@vue/eslint-config-typescript/recommended` in v11.x, you should now extend from `['@vue/eslint-config-typescript', '@vue/eslint-config-typescript/allow-jsx-in-vue']` instead.
- But if you don't have any plain `<script>`, `<script lang="tsx">`, or `<script lang="jsx">` in your `.vue` files, you can omit `@vue/eslint-config-typescript/allow-jsx-in-vue` from the extends array.

Expand Down

0 comments on commit 6ae8871

Please sign in to comment.