Skip to content

Commit

Permalink
feat!: exclude react config from default package
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 19, 2022
1 parent b25d6e9 commit 61ef0a0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion packages/all/index.js
@@ -1,6 +1,5 @@
module.exports = {
extends: [
'@antfu/eslint-config-react',
'@antfu/eslint-config-vue',
],
}
1 change: 0 additions & 1 deletion packages/all/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/index.js
Expand Up @@ -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',
Expand Down
2 changes: 0 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 61ef0a0

Please sign in to comment.