Skip to content

Commit

Permalink
feat: ✨ remove simple-import-sort type stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman committed Apr 13, 2024
1 parent 0e1196f commit 9b415de
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "0.4.6",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-testing-library": "^6.2.0",
"globals": "^15.0.0",
"local-pkg": "0.5.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/__snapshots__/factory.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,7 @@ exports[`jimmyDotCodes > should create default configuration 1`] = `
"simple-import-sort": {
"meta": {
"name": "eslint-plugin-simple-import-sort",
"version": "12.0.0",
"version": "12.1.0",
},
"rules": {
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,7 @@ exports[`should create default configuration 1`] = `
"simple-import-sort": {
"meta": {
"name": "eslint-plugin-simple-import-sort",
"version": "12.0.0",
"version": "12.1.0",
},
"rules": {
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/configs/__snapshots__/imports.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ exports[`importsConfig > should create default config 1`] = `
"simple-import-sort": {
"meta": {
"name": "eslint-plugin-simple-import-sort",
"version": "12.0.0",
"version": "12.1.0",
},
"rules": {
"exports": {
Expand Down
7 changes: 0 additions & 7 deletions src/stubs.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
/* eslint-disable @typescript-eslint/consistent-type-imports */
declare module "eslint-plugin-simple-import-sort" {
type Plugin = import("eslint").ESLint.Plugin;

const plugin: Plugin;

export default plugin;
}

declare module "eslint-config-prettier" {
type Rules = import("eslint").Linter.RulesRecord;
Expand Down

0 comments on commit 9b415de

Please sign in to comment.