feat!: exclude react config from default package
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user