Skip to content

Commit

Permalink
fix: dupe plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed May 22, 2024
1 parent 318fc5b commit 2e8c3d5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions configs/typescript.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import typescriptEslintPlugin from '@typescript-eslint/eslint-plugin'
import tseslint from 'typescript-eslint'
import { defineConfig, overrides } from '../config.js'
import { GLOB_ALL, GLOB_TS } from '../globs.js'
Expand All @@ -24,9 +23,6 @@ export default defineConfig(options => {
project: true,
},
},
plugins: {
'@typescript-eslint': typescriptEslintPlugin,
},
rules: {
'constructor-super': 'error',
'getter-return': 'error',
Expand Down Expand Up @@ -118,9 +114,6 @@ export default defineConfig(options => {
...stylisticTs(),
{
files: [mixed ? GLOB_TS : GLOB_ALL],
plugins: {
'@typescript-eslint': typescriptEslintPlugin,
},
rules: {
// [继承 stylistic-type-checked][覆盖 compatible]
'@typescript-eslint/consistent-type-assertions': 'error',
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"@stylistic/eslint-plugin-js": "^2.1.0",
"@stylistic/eslint-plugin-plus": "^2.1.0",
"@stylistic/eslint-plugin-ts": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"eslint-config-flat-gitignore": "^0.1.5",
"eslint-flat-config-utils": "^0.2.4",
"eslint-import-resolver-alias": "^1.1.2",
Expand Down
3 changes: 0 additions & 3 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 2e8c3d5

Please sign in to comment.