-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
275 changed files
with
4,337 additions
and
6,711 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
/jest/ | ||
/sarif/ | ||
/.attach_pid* | ||
/.eslintcache | ||
/.pnp.* | ||
/yarn-error.log | ||
.idea/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.yarn/patches/@typescript-eslint-eslint-plugin-npm-7.7.0-de43f1e757.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/index.d.ts b/index.d.ts | ||
index 756a025eb97d7d2819e3688bb16f5118432f7921..eeaa95025d08dc5b44f4e865e4b89006637ddc5c 100644 | ||
--- a/index.d.ts | ||
+++ b/index.d.ts | ||
@@ -1,13 +1,4 @@ | ||
-import type { | ||
- ClassicConfig, | ||
- FlatConfig, | ||
-} from '@typescript-eslint/utils/ts-eslint'; | ||
+import { ESLint } from 'eslint'; | ||
|
||
-import type rules from './rules'; | ||
- | ||
-declare const cjsExport: { | ||
- configs: Record<string, ClassicConfig.Config>; | ||
- meta: FlatConfig.PluginMeta; | ||
- rules: typeof rules; | ||
-}; | ||
+declare const cjsExport: ESLint.Plugin; | ||
export = cjsExport; |
85 changes: 85 additions & 0 deletions
85
.yarn/patches/typescript-eslint-npm-7.7.0-1c6d9ccc41.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
diff --git a/dist/index.d.ts b/dist/index.d.ts | ||
index 80759b35992c79d624cf5d7471aae005948aab61..6fc39dde152c5b42a578ac55f14680dd53758c58 100644 | ||
--- a/dist/index.d.ts | ||
+++ b/dist/index.d.ts | ||
@@ -1,41 +1,41 @@ | ||
-import type { TSESLint } from '@typescript-eslint/utils'; | ||
+import { ESLint, Linter } from 'eslint'; | ||
import type { ConfigWithExtends } from './config-helper'; | ||
import { config } from './config-helper'; | ||
-declare const parser: TSESLint.FlatConfig.Parser; | ||
-declare const plugin: TSESLint.FlatConfig.Plugin; | ||
+declare const parser: Linter.ParserModule; | ||
+declare const plugin: ESLint.Plugin; | ||
declare const configs: { | ||
- all: TSESLint.FlatConfig.ConfigArray; | ||
- base: TSESLint.FlatConfig.Config; | ||
- disableTypeChecked: TSESLint.FlatConfig.Config; | ||
- eslintRecommended: TSESLint.FlatConfig.Config; | ||
- recommended: TSESLint.FlatConfig.ConfigArray; | ||
- recommendedTypeChecked: TSESLint.FlatConfig.ConfigArray; | ||
- recommendedTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; | ||
- strict: TSESLint.FlatConfig.ConfigArray; | ||
- strictTypeChecked: TSESLint.FlatConfig.ConfigArray; | ||
- strictTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; | ||
- stylistic: TSESLint.FlatConfig.ConfigArray; | ||
- stylisticTypeChecked: TSESLint.FlatConfig.ConfigArray; | ||
- stylisticTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; | ||
+ all: Linter.FlatConfig[]; | ||
+ base: Linter.FlatConfig; | ||
+ disableTypeChecked: Linter.FlatConfig; | ||
+ eslintRecommended: Linter.FlatConfig; | ||
+ recommended: Linter.FlatConfig[]; | ||
+ recommendedTypeChecked: Linter.FlatConfig[]; | ||
+ recommendedTypeCheckedOnly: Linter.FlatConfig[]; | ||
+ strict: Linter.FlatConfig[]; | ||
+ strictTypeChecked: Linter.FlatConfig[]; | ||
+ strictTypeCheckedOnly: Linter.FlatConfig[]; | ||
+ stylistic: Linter.FlatConfig[]; | ||
+ stylisticTypeChecked: Linter.FlatConfig[]; | ||
+ stylisticTypeCheckedOnly: Linter.FlatConfig[]; | ||
}; | ||
-export type Config = TSESLint.FlatConfig.ConfigFile; | ||
+export type Config = Linter.FlatConfig; | ||
export type { ConfigWithExtends }; | ||
declare const _default: { | ||
config: typeof config; | ||
configs: { | ||
- all: TSESLint.FlatConfig.ConfigArray; | ||
- base: TSESLint.FlatConfig.Config; | ||
- disableTypeChecked: TSESLint.FlatConfig.Config; | ||
- eslintRecommended: TSESLint.FlatConfig.Config; | ||
- recommended: TSESLint.FlatConfig.ConfigArray; | ||
- recommendedTypeChecked: TSESLint.FlatConfig.ConfigArray; | ||
- recommendedTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; | ||
- strict: TSESLint.FlatConfig.ConfigArray; | ||
- strictTypeChecked: TSESLint.FlatConfig.ConfigArray; | ||
- strictTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; | ||
- stylistic: TSESLint.FlatConfig.ConfigArray; | ||
- stylisticTypeChecked: TSESLint.FlatConfig.ConfigArray; | ||
- stylisticTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray; | ||
+ all: Linter.FlatConfig[]; | ||
+ base: Linter.FlatConfig; | ||
+ disableTypeChecked: Linter.FlatConfig; | ||
+ eslintRecommended: Linter.FlatConfig; | ||
+ recommended: Linter.FlatConfig[]; | ||
+ recommendedTypeChecked: Linter.FlatConfig[]; | ||
+ recommendedTypeCheckedOnly: Linter.FlatConfig[]; | ||
+ strict: Linter.FlatConfig[]; | ||
+ strictTypeChecked: Linter.FlatConfig[]; | ||
+ strictTypeCheckedOnly: Linter.FlatConfig[]; | ||
+ stylistic: Linter.FlatConfig[]; | ||
+ stylisticTypeChecked: Linter.FlatConfig[]; | ||
+ stylisticTypeCheckedOnly: Linter.FlatConfig[]; | ||
}; | ||
parser: { | ||
meta?: { | ||
@@ -49,7 +49,7 @@ declare const _default: { | ||
visitorKeys?: unknown; | ||
}; | ||
}; | ||
- plugin: TSESLint.FlatConfig.Plugin; | ||
+ plugin: ESLint.Plugin; | ||
}; | ||
export default _default; | ||
export { config, configs, parser, plugin }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import configs from '@quisido/eslint-config'; | ||
|
||
/** @type {readonly import('eslint').Linter.FlatConfig[]} */ | ||
export default [ | ||
...configs, | ||
{ | ||
ignores: ['packages/**'], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require('cjs-ts'); | ||
module.exports = require('./jest.config.ts').default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.