diff --git a/packages/all/index.js b/packages/all/index.js index c7fcad852d..dab785a47a 100644 --- a/packages/all/index.js +++ b/packages/all/index.js @@ -1,6 +1,5 @@ module.exports = { extends: [ - '@antfu/eslint-config-react', '@antfu/eslint-config-vue', ], } diff --git a/packages/all/package.json b/packages/all/package.json index 23861f2d24..68661bc73a 100644 --- a/packages/all/package.json +++ b/packages/all/package.json @@ -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", diff --git a/packages/typescript/index.js b/packages/typescript/index.js index 6ab7d3f2eb..3e38148522 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -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', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e6776ee37..bd3f6f045a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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