Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
14
Frontend-Learner/node_modules/eslint-plugin-import-lite/dist/dts/configs.d.ts
generated
vendored
Normal file
14
Frontend-Learner/node_modules/eslint-plugin-import-lite/dist/dts/configs.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import type { Linter } from 'eslint'
|
||||
|
||||
export declare const configs: {
|
||||
/**
|
||||
* The default recommended config in Flat Config Format
|
||||
*/
|
||||
recommended: Linter.Config
|
||||
/**
|
||||
* Enable all rules, in Flat Config Format
|
||||
*/
|
||||
all: Linter.Config
|
||||
}
|
||||
|
||||
export type Configs = typeof configs
|
||||
14
Frontend-Learner/node_modules/eslint-plugin-import-lite/dist/dts/index.d.ts
generated
vendored
Normal file
14
Frontend-Learner/node_modules/eslint-plugin-import-lite/dist/dts/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import type { ESLint } from 'eslint'
|
||||
import type { Configs } from './configs'
|
||||
import type { Rules } from './rules'
|
||||
|
||||
export type { Configs } from './configs'
|
||||
export type { RuleOptions } from './rule-options'
|
||||
export type { Rules } from './rules'
|
||||
|
||||
declare const plugin: {
|
||||
rules: Rules
|
||||
configs: ESLint.Plugin['configs'] & Configs
|
||||
}
|
||||
|
||||
export default plugin
|
||||
62
Frontend-Learner/node_modules/eslint-plugin-import-lite/dist/dts/rule-options.d.ts
generated
vendored
Normal file
62
Frontend-Learner/node_modules/eslint-plugin-import-lite/dist/dts/rule-options.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
/* eslint-disable */
|
||||
/* prettier-ignore */
|
||||
import type { Linter } from 'eslint'
|
||||
|
||||
export interface RuleOptions {
|
||||
/**
|
||||
* Enforce or ban the use of inline type-only markers for named imports.
|
||||
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/consistent-type-specifier-style/README.md
|
||||
*/
|
||||
'import-lite/consistent-type-specifier-style'?: Linter.RuleEntry<ImportLiteConsistentTypeSpecifierStyle>
|
||||
/**
|
||||
* Ensure all exports appear after other statements.
|
||||
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/exports-last/README.md
|
||||
*/
|
||||
'import-lite/exports-last'?: Linter.RuleEntry<[]>
|
||||
/**
|
||||
* Ensure all imports appear before other statements.
|
||||
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/first/README.md
|
||||
*/
|
||||
'import-lite/first'?: Linter.RuleEntry<ImportLiteFirst>
|
||||
/**
|
||||
* Enforce a newline after import statements.
|
||||
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/newline-after-import/README.md
|
||||
*/
|
||||
'import-lite/newline-after-import'?: Linter.RuleEntry<ImportLiteNewlineAfterImport>
|
||||
/**
|
||||
* Forbid default exports.
|
||||
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-default-export/README.md
|
||||
*/
|
||||
'import-lite/no-default-export'?: Linter.RuleEntry<[]>
|
||||
/**
|
||||
* Forbid repeated import of the same module in multiple places.
|
||||
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-duplicates/README.md
|
||||
*/
|
||||
'import-lite/no-duplicates'?: Linter.RuleEntry<ImportLiteNoDuplicates>
|
||||
/**
|
||||
* Forbid the use of mutable exports with `var` or `let`.
|
||||
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-mutable-exports/README.md
|
||||
*/
|
||||
'import-lite/no-mutable-exports'?: Linter.RuleEntry<[]>
|
||||
/**
|
||||
* Forbid named default exports.
|
||||
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-named-default/README.md
|
||||
*/
|
||||
'import-lite/no-named-default'?: Linter.RuleEntry<[]>
|
||||
}
|
||||
|
||||
/* ======= Declarations ======= */
|
||||
// ----- import-lite/consistent-type-specifier-style -----
|
||||
type ImportLiteConsistentTypeSpecifierStyle = []|[("top-level" | "inline" | "prefer-top-level")]
|
||||
// ----- import-lite/first -----
|
||||
type ImportLiteFirst = []|[("absolute-first" | "disable-absolute-first")]
|
||||
// ----- import-lite/newline-after-import -----
|
||||
type ImportLiteNewlineAfterImport = []|[{
|
||||
count?: number
|
||||
exactCount?: boolean
|
||||
considerComments?: boolean
|
||||
}]
|
||||
// ----- import-lite/no-duplicates -----
|
||||
type ImportLiteNoDuplicates = []|[{
|
||||
"prefer-inline"?: boolean
|
||||
}]
|
||||
11
Frontend-Learner/node_modules/eslint-plugin-import-lite/dist/dts/rules.d.ts
generated
vendored
Normal file
11
Frontend-Learner/node_modules/eslint-plugin-import-lite/dist/dts/rules.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import type { Rule } from 'eslint'
|
||||
import type { RuleOptions } from './rule-options'
|
||||
|
||||
type RuleName<K extends string>
|
||||
= K extends `${string}/${infer Name}`
|
||||
? RuleName<Name>
|
||||
: K
|
||||
|
||||
export type Rules = Required<{
|
||||
[K in keyof RuleOptions as RuleName<K>]: Rule.RuleModule
|
||||
}>
|
||||
Loading…
Add table
Add a link
Reference in a new issue