eslint-config-typescript for vue projects
MIT License
Bot releases are hidden (Show)
typescript-eslint
is upgraded to v7.x. The full release notes can be found in their release blog: https://typescript-eslint.io/blog/announcing-typescript-eslint-v7
It's a small major release that only updates some peer dependency version requirements:
typescript-eslint
is upgraded to v6.x. The full release notes can be found in their release blog: https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/
Here are some notable changes you might encounter when upgrading @vue/eslint-config-typescript
from v11 to v12:
recommended
config:
@typescript-eslint/eslint-plugin
has split them into standalone configs.warn
to error
, such as @typescript-eslint/no-unused-vars
.eslint-plugin-vue
to v9@typescript-eslint/*
becomes dependencies instead of peer dependencies. It's because we now recommend using this package along with @rushstack/eslint-patch
.const foo = require('foo')
in plain CommonJS modules (109b3f8)@typescript-eslint/*
>= 5.0
eslint-plugin-vue
>= 7.17Thanks to @cexbrayat
Update to @typescript-eslint/*
v4.
See detailed breaking changes at https://github.com/typescript-eslint/typescript-eslint/releases/tag/v4.0.0
Update to @typescript-eslint/* v3. See detailed breaking changes at https://github.com/typescript-eslint/typescript-eslint/releases/tag/v3.0.0
The most notable ones are:
Check out the linked issues for more information about added/removed rules:
@vue/typescript
: https://github.com/typescript-eslint/typescript-eslint/issues/1273
@vue/typescript/recommended
: https://github.com/typescript-eslint/typescript-eslint/issues/1423
Fix parser loading in Yarn 2 #8
Fix the Cannot read config file
error for the recommended
ruleset https://github.com/vuejs/eslint-config-typescript/pull/6
@typescript-eslint/eslint-plugin
and @typescript-eslint/parser
are now peer dependenciesrecommended
ruleset