-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
1 parent
50134b9
commit 63db989
Showing
23 changed files
with
110 additions
and
112 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Eslint EslintComments extensions. | ||
* Eslint EslintComments extends. | ||
* | ||
* @see [Eslint EslintComments extensions](https://mysticatea.github.io/eslint-plugin-eslint-comments/#%F0%9F%93%96-usage) | ||
* @see [Eslint EslintComments extends](https://mysticatea.github.io/eslint-plugin-eslint-comments/#%F0%9F%93%96-usage) | ||
*/ | ||
export type EslintCommentsExtensions = 'plugin:eslint-comments/recommended'; | ||
export type EslintCommentsExtends = 'plugin:eslint-comments/recommended'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* Eslint import extensions. | ||
* Eslint import extends. | ||
* | ||
* @see [Eslint import extensions](https://github.com/benmosher/eslint-plugin-import#installation) | ||
* @see [Eslint import extends](https://github.com/benmosher/eslint-plugin-import#installation) | ||
*/ | ||
export type ImportExtensions = | ||
export type ImportExtends = | ||
| 'plugin:import/errors' | ||
| 'plugin:import/warnings' | ||
| 'plugin:import/typescript'; |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Eslint JSDoc extensions. | ||
* Eslint JSDoc extends. | ||
* | ||
* @see [Eslint JSDoc extensions](https://github.com/gajus/eslint-plugin-jsdoc#configuration) | ||
* @see [Eslint JSDoc extends](https://github.com/gajus/eslint-plugin-jsdoc#configuration) | ||
*/ | ||
export type JsdocExtensions = 'plugin:jsdoc/recommended'; | ||
export type JsdocExtends = 'plugin:jsdoc/recommended'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** | ||
* Eslint JSX A11y extensions. | ||
* Eslint JSX A11y extends. | ||
* | ||
* @see [Eslint JSX A11y extensions](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) | ||
* @see [Eslint JSX A11y extends](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) | ||
*/ | ||
export type JsxA11yExtensions = | ||
export type JsxA11yExtends = | ||
| 'plugin:jsx-a11y/strict' | ||
| 'plugin:jsx-a11y/recommended'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* Eslint N (Node) extensions. | ||
* Eslint N (Node) extends. | ||
* | ||
* @see [Eslint N extensions](https://github.com/eslint-community/eslint-plugin-n#-configs) | ||
* @see [Eslint N extends](https://github.com/eslint-community/eslint-plugin-n#-configs) | ||
*/ | ||
export type NExtensions = | ||
export type NExtends = | ||
| 'plugin:n/recommended' | ||
| 'plugin:n/recommended-module' | ||
| 'plugin:n/recommended-script'; |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* Eslint Node extensions. | ||
* Eslint Node extends. | ||
* | ||
* @see [Eslint Node extensions](https://github.com/mysticatea/eslint-plugin-node#-configs) | ||
* @see [Eslint Node extends](https://github.com/mysticatea/eslint-plugin-node#-configs) | ||
*/ | ||
export type NodeExtensions = | ||
export type NodeExtends = | ||
| 'plugin:node/recommended' | ||
| 'plugin:node/recommended-module' | ||
| 'plugin:node/recommended-script'; |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Eslint Prettier extensions. | ||
* Eslint Prettier extends. | ||
* | ||
* @see [Eslint Prettier extensions](https://github.com/prettier/eslint-plugin-prettier#recommended-configuration) | ||
* @see [Eslint Prettier extends](https://github.com/prettier/eslint-plugin-prettier#recommended-configuration) | ||
*/ | ||
export type PrettierExtensions = 'plugin:prettier/recommended' | 'prettier'; | ||
export type PrettierExtends = 'plugin:prettier/recommended' | 'prettier'; |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Eslint promise extensions. | ||
* Eslint promise extends. | ||
* | ||
* @see [Eslint promise extensions](https://github.com/eslint-community/eslint-plugin-promise#usage) | ||
* @see [Eslint promise extends](https://github.com/eslint-community/eslint-plugin-promise#usage) | ||
*/ | ||
export type PromiseExtensions = 'plugin:promise/recommended'; | ||
export type PromiseExtends = 'plugin:promise/recommended'; |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Eslint ReactHooks extensions. | ||
* Eslint ReactHooks extends. | ||
* | ||
* @see [Eslint ReactHooks extensions](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks) | ||
* @see [Eslint ReactHooks extends](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks) | ||
*/ | ||
export type ReactHooksExtensions = 'plugin:react-hooks/recommended'; | ||
export type ReactHooksExtends = 'plugin:react-hooks/recommended'; |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* Eslint React extensions. | ||
* Eslint React extends. | ||
* | ||
* @see [Eslint React extensions](https://github.com/jsx-eslint/eslint-plugin-react) | ||
* @see [Eslint React extends](https://github.com/jsx-eslint/eslint-plugin-react) | ||
*/ | ||
export type ReactExtensions = | ||
export type ReactExtends = | ||
| 'plugin:react/all' | ||
| 'plugin:react/jsx-runtime' | ||
| 'plugin:react/recommended'; |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Eslint Sonarjs extensions. | ||
* Eslint Sonarjs extends. | ||
* | ||
* @see [Eslint Sonarjs extensions](https://github.com/SonarSource/eslint-plugin-sonarjs#available-configurations) | ||
* @see [Eslint Sonarjs extends](https://github.com/SonarSource/eslint-plugin-sonarjs#available-configurations) | ||
*/ | ||
export type SonarjsExtensions = 'plugin:sonarjs/recommended'; | ||
export type SonarjsExtends = 'plugin:sonarjs/recommended'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** | ||
* Eslint Unicorn extensions. | ||
* Eslint Unicorn extends. | ||
* | ||
* @see [Eslint Unicorn extensions](https://github.com/sindresorhus/eslint-plugin-unicorn) | ||
* @see [Eslint Unicorn extends](https://github.com/sindresorhus/eslint-plugin-unicorn) | ||
*/ | ||
export type UnicornExtensions = | ||
export type UnicornExtends = | ||
| 'plugin:unicorn/recommended' | ||
| 'plugin:unicorn/all'; |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
/** | ||
* Eslint Vitest extensions. | ||
* Eslint Vitest extends. | ||
* | ||
* @see [Eslint Vitest extensions](https://eslint.vuejs.org/user-guide/#usage) | ||
* @see [Eslint Vitest extends](https://eslint.vuejs.org/user-guide/#usage) | ||
*/ | ||
export type VitestExtensions = | ||
| 'plugin:vitest/all' | ||
| 'plugin:vitest/recommended'; | ||
export type VitestExtends = 'plugin:vitest/all' | 'plugin:vitest/recommended'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/** | ||
* Eslint extensions. | ||
* Eslint extends. | ||
*/ | ||
export type EslintExtensions = 'eslint:recommended' | 'eslint:all'; | ||
export type EslintExtends = 'eslint:recommended' | 'eslint:all'; |
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 |
---|---|---|
@@ -1,56 +1,56 @@ | ||
import type { LiteralUnion } from '../../utility-types'; | ||
import type { EslintExtensions } from './eslint'; | ||
import type { EslintCommentsExtensions } from './eslint-plugin-eslint-comment'; | ||
import type { GraphqlExtensions } from './eslint-plugin-graphql'; | ||
import type { ImportExtensions } from './eslint-plugin-import'; | ||
import type { JsdocExtensions } from './eslint-plugin-jsdoc'; | ||
import type { JsoncExtensions } from './eslint-plugin-jsonc'; | ||
import type { MdxExtensions } from './eslint-plugin-mdx'; | ||
import type { NExtensions } from './eslint-plugin-n'; | ||
import type { NodeExtensions } from './eslint-plugin-node'; | ||
import type { PrettierExtensions } from './eslint-plugin-prettier'; | ||
import type { PromiseExtensions } from './eslint-plugin-promise'; | ||
import type { ReactExtensions } from './eslint-plugin-react'; | ||
import type { ReactHooksExtensions } from './eslint-plugin-react-hooks'; | ||
import type { SonarjsExtensions } from './eslint-plugin-sonarjs'; | ||
import type { TestingLibraryExtensions } from './eslint-plugin-testing-library'; | ||
import type { UnicornExtensions } from './eslint-plugin-unicorn'; | ||
import type { VitestExtensions } from './eslint-plugin-vitest'; | ||
import type { VueExtensions } from './eslint-plugin-vue'; | ||
import type { VuePugExtensions } from './eslint-plugin-vue-pug'; | ||
import type { IntlifyVueI18nExtensions } from './intlify-vue-i18n'; | ||
import type { TypescriptEslintExtensions } from './typescript-eslint'; | ||
import type { EslintExtends } from './eslint'; | ||
import type { EslintCommentsExtends } from './eslint-plugin-eslint-comment'; | ||
import type { GraphqlExtends } from './eslint-plugin-graphql'; | ||
import type { ImportExtends } from './eslint-plugin-import'; | ||
import type { JsdocExtends } from './eslint-plugin-jsdoc'; | ||
import type { JsoncExtends } from './eslint-plugin-jsonc'; | ||
import type { MdxExtends } from './eslint-plugin-mdx'; | ||
import type { NExtends } from './eslint-plugin-n'; | ||
import type { NodeExtends } from './eslint-plugin-node'; | ||
import type { PrettierExtends } from './eslint-plugin-prettier'; | ||
import type { PromiseExtends } from './eslint-plugin-promise'; | ||
import type { ReactExtends } from './eslint-plugin-react'; | ||
import type { ReactHooksExtends } from './eslint-plugin-react-hooks'; | ||
import type { SonarjsExtends } from './eslint-plugin-sonarjs'; | ||
import type { TestingLibraryExtends } from './eslint-plugin-testing-library'; | ||
import type { UnicornExtends } from './eslint-plugin-unicorn'; | ||
import type { VitestExtends } from './eslint-plugin-vitest'; | ||
import type { VueExtends } from './eslint-plugin-vue'; | ||
import type { VuePugExtends } from './eslint-plugin-vue-pug'; | ||
import type { IntlifyVueI18nExtends } from './intlify-vue-i18n'; | ||
import type { TypescriptEslintExtends } from './typescript-eslint'; | ||
|
||
/** | ||
* All known extensions. | ||
* All known extends. | ||
*/ | ||
export type KnownExtensions = LiteralUnion< | ||
| EslintCommentsExtensions | ||
| EslintExtensions | ||
| GraphqlExtensions | ||
| ImportExtensions | ||
| IntlifyVueI18nExtensions | ||
| JsdocExtensions | ||
| JsoncExtensions | ||
| MdxExtensions | ||
| NExtensions | ||
| NodeExtensions | ||
| PrettierExtensions | ||
| PromiseExtensions | ||
| ReactExtensions | ||
| ReactHooksExtensions | ||
| SonarjsExtensions | ||
| TestingLibraryExtensions | ||
| TypescriptEslintExtensions | ||
| UnicornExtensions | ||
| VitestExtensions | ||
| VueExtensions | ||
| VuePugExtensions | ||
export type KnownExtends = LiteralUnion< | ||
| EslintCommentsExtends | ||
| EslintExtends | ||
| GraphqlExtends | ||
| ImportExtends | ||
| IntlifyVueI18nExtends | ||
| JsdocExtends | ||
| JsoncExtends | ||
| MdxExtends | ||
| NExtends | ||
| NodeExtends | ||
| PrettierExtends | ||
| PromiseExtends | ||
| ReactExtends | ||
| ReactHooksExtends | ||
| SonarjsExtends | ||
| TestingLibraryExtends | ||
| TypescriptEslintExtends | ||
| UnicornExtends | ||
| VitestExtends | ||
| VueExtends | ||
| VuePugExtends | ||
>; | ||
|
||
/** | ||
* Extending Configuration Files. | ||
* | ||
* @see [Extends](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) | ||
*/ | ||
export type Extends = KnownExtensions | KnownExtensions[]; | ||
export type Extends = KnownExtends | KnownExtends[]; |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Eslint Intlify VueI18n extensions. | ||
* Eslint Intlify VueI18n extends. | ||
* | ||
* @see [Eslint Intlify VueI18n extensions](https://eslint-plugin-vue-i18n.intlify.dev/started.html) | ||
* @see [Eslint Intlify VueI18n extends](https://eslint-plugin-vue-i18n.intlify.dev/started.html) | ||
*/ | ||
export type IntlifyVueI18nExtensions = 'plugin:@intlify/vue-i18n/recommended'; | ||
export type IntlifyVueI18nExtends = 'plugin:@intlify/vue-i18n/recommended'; |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* Typescript eslint extensions. | ||
* Typescript eslint extends. | ||
* | ||
* @see [Typescript eslint extensions](https://typescript-eslint.io/linting/configs#recommended-configurations) | ||
* @see [Typescript eslint extends](https://typescript-eslint.io/linting/configs#recommended-configurations) | ||
*/ | ||
export type TypescriptEslintExtensions = | ||
export type TypescriptEslintExtends = | ||
| 'plugin:@typescript-eslint/recommended' | ||
| 'plugin:@typescript-eslint/recommended-requiring-type-checking' | ||
| 'plugin:@typescript-eslint/strict'; |