feat!: exclude react config from default package
This commit is contained in:
parent
b25d6e98bc
commit
61ef0a0570
@ -1,6 +1,5 @@
|
||||
module.exports = {
|
||||
extends: [
|
||||
'@antfu/eslint-config-react',
|
||||
'@antfu/eslint-config-vue',
|
||||
],
|
||||
}
|
||||
|
@ -16,7 +16,6 @@
|
||||
"eslint": ">=7.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-react": "workspace:*",
|
||||
"@antfu/eslint-config-vue": "workspace:*",
|
||||
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
||||
"@typescript-eslint/parser": "^5.36.1",
|
||||
|
@ -105,7 +105,7 @@ module.exports = {
|
||||
'@typescript-eslint/no-loss-of-precision': 'error',
|
||||
'lines-between-class-members': 'off',
|
||||
'@typescript-eslint/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
|
||||
|
||||
|
||||
// The following rule overrides require a parser service, aka. require a `typescript.json` path.
|
||||
// This needs to be done individually for each project, and it slows down linting significantly.
|
||||
// 'no-throw-literal': 'off',
|
||||
|
@ -18,7 +18,6 @@ importers:
|
||||
|
||||
packages/all:
|
||||
specifiers:
|
||||
'@antfu/eslint-config-react': workspace:*
|
||||
'@antfu/eslint-config-vue': workspace:*
|
||||
'@typescript-eslint/eslint-plugin': ^5.36.1
|
||||
'@typescript-eslint/parser': ^5.36.1
|
||||
@ -35,7 +34,6 @@ importers:
|
||||
jsonc-eslint-parser: ^2.1.0
|
||||
yaml-eslint-parser: ^1.1.0
|
||||
dependencies:
|
||||
'@antfu/eslint-config-react': link:../react
|
||||
'@antfu/eslint-config-vue': link:../vue
|
||||
'@typescript-eslint/eslint-plugin': 5.36.1_wyxuyzvlfep3lsyoibc4fosfq4
|
||||
'@typescript-eslint/parser': 5.36.1_eslint@8.23.0
|
||||
|
Loading…
Reference in New Issue
Block a user