eslint-define-config
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "eslint-define-config", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Provide a defineConfig function for .eslintrc.js files", | ||
@@ -43,19 +43,19 @@ "main": "src/index.js", | ||
"@intlify/eslint-plugin-vue-i18n": "~1.2.0", | ||
"@types/eslint": "~8.2.1", | ||
"@types/node": "~16.11.19", | ||
"@types/prettier": "~2.4.2", | ||
"@typescript-eslint/eslint-plugin": "~5.9.0", | ||
"@typescript-eslint/parser": "~5.9.0", | ||
"@types/eslint": "~8.2.2", | ||
"@types/node": "~16.11.21", | ||
"@types/prettier": "~2.4.3", | ||
"@typescript-eslint/eslint-plugin": "~5.10.0", | ||
"@typescript-eslint/parser": "~5.10.0", | ||
"change-case": "~4.1.2", | ||
"eslint": "~8.6.0", | ||
"eslint": "~8.7.0", | ||
"eslint-config-prettier": "~8.3.0", | ||
"eslint-plugin-inclusive-language": "~2.2.0", | ||
"eslint-plugin-jsdoc": "~37.5.1", | ||
"eslint-plugin-jsdoc": "~37.6.1", | ||
"eslint-plugin-node": "~11.1.0", | ||
"eslint-plugin-prettier": "~4.0.0", | ||
"eslint-plugin-spellcheck": "~0.0.19", | ||
"eslint-plugin-unicorn": "~40.0.0", | ||
"eslint-plugin-vue": "~8.2.0", | ||
"eslint-plugin-vue-pug-sfc": "~1.0.0-alpha.19", | ||
"esno": "~0.13.0", | ||
"eslint-plugin-unicorn": "~40.1.0", | ||
"eslint-plugin-vue": "~8.3.0", | ||
"eslint-plugin-vue-pug-sfc": "~1.0.0-alpha.20", | ||
"esno": "~0.14.0", | ||
"json-schema-to-typescript": "~10.1.5", | ||
@@ -67,8 +67,8 @@ "prettier": "2.5.1", | ||
}, | ||
"packageManager": "pnpm@6.25.0", | ||
"packageManager": "pnpm@6.27.1", | ||
"engines": { | ||
"node": ">= 16.9.0", | ||
"npm": ">= 7.0.0", | ||
"pnpm": ">= 6.17.0" | ||
"pnpm": ">= 6.27.1" | ||
} | ||
} |
@@ -56,3 +56,3 @@ <p> | ||
// rules... | ||
} | ||
}, | ||
}); | ||
@@ -59,0 +59,0 @@ ``` |
@@ -6,2 +6,5 @@ /** | ||
*/ | ||
export type ImportExtensions = 'plugin:import/errors' | 'plugin:import/warnings' | 'plugin:import/typescript'; | ||
export type ImportExtensions = | ||
| 'plugin:import/errors' | ||
| 'plugin:import/warnings' | ||
| 'plugin:import/typescript'; |
@@ -6,2 +6,4 @@ /** | ||
*/ | ||
export type UnicornExtensions = 'plugin:unicorn/recommended' | 'plugin:unicorn/all'; | ||
export type UnicornExtensions = | ||
| 'plugin:unicorn/recommended' | ||
| 'plugin:unicorn/all'; |
@@ -42,3 +42,6 @@ import type { Environments } from './env'; | ||
*/ | ||
globals?: Record<string, 'readonly' | 'writable' | false | 'readable' | true | 'writeable' | 'off'>; | ||
globals?: Record< | ||
string, | ||
'readonly' | 'writable' | false | 'readable' | true | 'writeable' | 'off' | ||
>; | ||
/** | ||
@@ -45,0 +48,0 @@ * Parser. |
@@ -122,6 +122,10 @@ import type { LiteralUnion } from './utility-types'; | ||
/** DebugLevel. */ | ||
export type DebugLevel = boolean | Array<'eslint' | 'typescript' | 'typescript-eslint'>; | ||
export type DebugLevel = | ||
| boolean | ||
| Array<'eslint' | 'typescript' | 'typescript-eslint'>; | ||
/** Parser. */ | ||
export type Parser = LiteralUnion<'babel-eslint' | '@typescript-eslint/parser' | 'vue-eslint-parser'>; | ||
export type Parser = LiteralUnion< | ||
'babel-eslint' | '@typescript-eslint/parser' | 'vue-eslint-parser' | ||
>; | ||
@@ -128,0 +132,0 @@ /** |
@@ -5,3 +5,10 @@ import type { LiteralUnion } from './utility-types'; | ||
export type Plugin = LiteralUnion< | ||
'@typescript-eslint' | 'import' | 'inclusive-language' | 'jsdoc' | 'prettier' | 'spellcheck' | 'unicorn' | 'vue' | ||
| '@typescript-eslint' | ||
| 'import' | ||
| 'inclusive-language' | ||
| 'jsdoc' | ||
| 'prettier' | ||
| 'spellcheck' | ||
| 'unicorn' | ||
| 'vue' | ||
>; |
@@ -23,3 +23,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ArrayBracketNewlineRuleConfig = RuleConfig<ArrayBracketNewlineOptions>; | ||
export type ArrayBracketNewlineRuleConfig = | ||
RuleConfig<ArrayBracketNewlineOptions>; | ||
@@ -26,0 +27,0 @@ /** |
@@ -20,3 +20,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ArrayBracketSpacingOptions = [ArrayBracketSpacingOption?, ArrayBracketSpacingConfig?]; | ||
export type ArrayBracketSpacingOptions = [ | ||
ArrayBracketSpacingOption?, | ||
ArrayBracketSpacingConfig?, | ||
]; | ||
@@ -28,3 +31,4 @@ /** | ||
*/ | ||
export type ArrayBracketSpacingRuleConfig = RuleConfig<ArrayBracketSpacingOptions>; | ||
export type ArrayBracketSpacingRuleConfig = | ||
RuleConfig<ArrayBracketSpacingOptions>; | ||
@@ -31,0 +35,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ArrayCallbackReturnRuleConfig = RuleConfig<ArrayCallbackReturnOptions>; | ||
export type ArrayCallbackReturnRuleConfig = | ||
RuleConfig<ArrayCallbackReturnOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -13,3 +13,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ArrayPattern?: BasicConfig; | ||
} | ||
}, | ||
]; | ||
@@ -33,3 +33,4 @@ export type BasicConfig = | ||
*/ | ||
export type ArrayElementNewlineRuleConfig = RuleConfig<ArrayElementNewlineOptions>; | ||
export type ArrayElementNewlineRuleConfig = | ||
RuleConfig<ArrayElementNewlineOptions>; | ||
@@ -36,0 +37,0 @@ /** |
@@ -15,3 +15,3 @@ import type { RuleConfig } from '../rule-config'; | ||
requireReturnForObjectLiteral?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -18,0 +18,0 @@ |
@@ -33,3 +33,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type CapitalizedCommentsOptions = [CapitalizedCommentsOption?, CapitalizedCommentsConfig?]; | ||
export type CapitalizedCommentsOptions = [ | ||
CapitalizedCommentsOption?, | ||
CapitalizedCommentsConfig?, | ||
]; | ||
@@ -41,3 +44,4 @@ /** | ||
*/ | ||
export type CapitalizedCommentsRuleConfig = RuleConfig<CapitalizedCommentsOptions>; | ||
export type CapitalizedCommentsRuleConfig = | ||
RuleConfig<CapitalizedCommentsOptions>; | ||
@@ -44,0 +48,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ClassMethodsUseThisRuleConfig = RuleConfig<ClassMethodsUseThisOptions>; | ||
export type ClassMethodsUseThisRuleConfig = | ||
RuleConfig<ClassMethodsUseThisOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -16,6 +16,11 @@ import type { RuleConfig } from '../rule-config'; | ||
functions?: ValueWithIgnore; | ||
} | ||
}, | ||
]; | ||
export type Value = 'always-multiline' | 'always' | 'never' | 'only-multiline'; | ||
export type ValueWithIgnore = 'always-multiline' | 'always' | 'ignore' | 'never' | 'only-multiline'; | ||
export type ValueWithIgnore = | ||
| 'always-multiline' | ||
| 'always' | ||
| 'ignore' | ||
| 'never' | ||
| 'only-multiline'; | ||
@@ -22,0 +27,0 @@ /** |
@@ -18,3 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ComputedPropertySpacingOptions = [ComputedPropertySpacingOption?, ComputedPropertySpacingConfig?]; | ||
export type ComputedPropertySpacingOptions = [ | ||
ComputedPropertySpacingOption?, | ||
ComputedPropertySpacingConfig?, | ||
]; | ||
@@ -26,3 +29,4 @@ /** | ||
*/ | ||
export type ComputedPropertySpacingRuleConfig = RuleConfig<ComputedPropertySpacingOptions>; | ||
export type ComputedPropertySpacingRuleConfig = | ||
RuleConfig<ComputedPropertySpacingOptions>; | ||
@@ -29,0 +33,0 @@ /** |
@@ -13,3 +13,3 @@ import type { RuleConfig } from '../rule-config'; | ||
null?: 'always' | 'never' | 'ignore'; | ||
} | ||
}, | ||
] | ||
@@ -16,0 +16,0 @@ | [] |
@@ -15,3 +15,3 @@ import type { RuleConfig } from '../rule-config'; | ||
allowNewlines?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -18,0 +18,0 @@ |
@@ -14,3 +14,3 @@ import type { RuleConfig } from '../rule-config'; | ||
includeCommonJSModuleExports?: boolean; | ||
} | ||
}, | ||
] | ||
@@ -22,3 +22,3 @@ | [] | ||
includeCommonJSModuleExports?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -25,0 +25,0 @@ |
@@ -13,3 +13,3 @@ import type { RuleConfig } from '../rule-config'; | ||
generators?: Value; | ||
} | ||
}, | ||
]; | ||
@@ -16,0 +16,0 @@ export type Value = 'always' | 'as-needed' | 'never'; |
@@ -6,3 +6,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type FunctionCallArgumentNewlineOption = 'always' | 'never' | 'consistent'; | ||
export type FunctionCallArgumentNewlineOption = | ||
| 'always' | ||
| 'never' | ||
| 'consistent'; | ||
@@ -12,3 +15,5 @@ /** | ||
*/ | ||
export type FunctionCallArgumentNewlineOptions = [FunctionCallArgumentNewlineOption?]; | ||
export type FunctionCallArgumentNewlineOptions = [ | ||
FunctionCallArgumentNewlineOption?, | ||
]; | ||
@@ -20,3 +25,4 @@ /** | ||
*/ | ||
export type FunctionCallArgumentNewlineRuleConfig = RuleConfig<FunctionCallArgumentNewlineOptions>; | ||
export type FunctionCallArgumentNewlineRuleConfig = | ||
RuleConfig<FunctionCallArgumentNewlineOptions>; | ||
@@ -23,0 +29,0 @@ /** |
@@ -22,3 +22,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type FunctionParenNewlineRuleConfig = RuleConfig<FunctionParenNewlineOptions>; | ||
export type FunctionParenNewlineRuleConfig = | ||
RuleConfig<FunctionParenNewlineOptions>; | ||
@@ -25,0 +26,0 @@ /** |
@@ -41,3 +41,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type GeneratorStarSpacingRuleConfig = RuleConfig<GeneratorStarSpacingOptions>; | ||
export type GeneratorStarSpacingRuleConfig = | ||
RuleConfig<GeneratorStarSpacingOptions>; | ||
@@ -44,0 +45,0 @@ /** |
@@ -6,3 +6,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type GroupedAccessorPairsOption = 'anyOrder' | 'getBeforeSet' | 'setBeforeGet'; | ||
export type GroupedAccessorPairsOption = | ||
| 'anyOrder' | ||
| 'getBeforeSet' | ||
| 'setBeforeGet'; | ||
@@ -19,3 +22,4 @@ /** | ||
*/ | ||
export type GroupedAccessorPairsRuleConfig = RuleConfig<GroupedAccessorPairsOptions>; | ||
export type GroupedAccessorPairsRuleConfig = | ||
RuleConfig<GroupedAccessorPairsOptions>; | ||
@@ -22,0 +26,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ImplicitArrowLinebreakRuleConfig = RuleConfig<ImplicitArrowLinebreakOptions>; | ||
export type ImplicitArrowLinebreakRuleConfig = | ||
RuleConfig<ImplicitArrowLinebreakOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -15,3 +15,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignoreForLoopInit?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -18,0 +18,0 @@ |
@@ -25,3 +25,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type LineCommentPositionRuleConfig = RuleConfig<LineCommentPositionOptions>; | ||
export type LineCommentPositionRuleConfig = | ||
RuleConfig<LineCommentPositionOptions>; | ||
@@ -28,0 +29,0 @@ /** |
@@ -33,3 +33,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type LinesAroundCommentRuleConfig = RuleConfig<LinesAroundCommentOptions>; | ||
export type LinesAroundCommentRuleConfig = | ||
RuleConfig<LinesAroundCommentOptions>; | ||
@@ -36,0 +37,0 @@ /** |
@@ -25,3 +25,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type LinesAroundDirectiveRuleConfig = RuleConfig<LinesAroundDirectiveOptions>; | ||
export type LinesAroundDirectiveRuleConfig = | ||
RuleConfig<LinesAroundDirectiveOptions>; | ||
@@ -28,0 +29,0 @@ /** |
@@ -18,3 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type LinesBetweenClassMembersOptions = [LinesBetweenClassMembersOption?, LinesBetweenClassMembersConfig?]; | ||
export type LinesBetweenClassMembersOptions = [ | ||
LinesBetweenClassMembersOption?, | ||
LinesBetweenClassMembersConfig?, | ||
]; | ||
@@ -26,3 +29,4 @@ /** | ||
*/ | ||
export type LinesBetweenClassMembersRuleConfig = RuleConfig<LinesBetweenClassMembersOptions>; | ||
export type LinesBetweenClassMembersRuleConfig = | ||
RuleConfig<LinesBetweenClassMembersOptions>; | ||
@@ -29,0 +33,0 @@ /** |
@@ -25,3 +25,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MaxLinesPerFunctionRuleConfig = RuleConfig<MaxLinesPerFunctionOptions>; | ||
export type MaxLinesPerFunctionRuleConfig = | ||
RuleConfig<MaxLinesPerFunctionOptions>; | ||
@@ -28,0 +29,0 @@ /** |
@@ -23,3 +23,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MaxNestedCallbacksRuleConfig = RuleConfig<MaxNestedCallbacksOptions>; | ||
export type MaxNestedCallbacksRuleConfig = | ||
RuleConfig<MaxNestedCallbacksOptions>; | ||
@@ -26,0 +27,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MaxStatementsPerLineRuleConfig = RuleConfig<MaxStatementsPerLineOptions>; | ||
export type MaxStatementsPerLineRuleConfig = | ||
RuleConfig<MaxStatementsPerLineOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -6,3 +6,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MultilineCommentStyleOption = 'starred-block' | 'separate-lines' | 'bare-block'; | ||
export type MultilineCommentStyleOption = | ||
| 'starred-block' | ||
| 'separate-lines' | ||
| 'bare-block'; | ||
@@ -19,3 +22,4 @@ /** | ||
*/ | ||
export type MultilineCommentStyleRuleConfig = RuleConfig<MultilineCommentStyleOptions>; | ||
export type MultilineCommentStyleRuleConfig = | ||
RuleConfig<MultilineCommentStyleOptions>; | ||
@@ -22,0 +26,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NewlinePerChainedCallRuleConfig = RuleConfig<NewlinePerChainedCallOptions>; | ||
export type NewlinePerChainedCallRuleConfig = | ||
RuleConfig<NewlinePerChainedCallOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -7,3 +7,17 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoBitwiseOption { | ||
allow?: ('^' | '|' | '&' | '<<' | '>>' | '>>>' | '^=' | '|=' | '&=' | '<<=' | '>>=' | '>>>=' | '~')[]; | ||
allow?: ( | ||
| '^' | ||
| '|' | ||
| '&' | ||
| '<<' | ||
| '>>' | ||
| '>>>' | ||
| '^=' | ||
| '|=' | ||
| '&=' | ||
| '<<=' | ||
| '>>=' | ||
| '>>>=' | ||
| '~' | ||
)[]; | ||
int32Hint?: boolean; | ||
@@ -10,0 +24,0 @@ } |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoConstantConditionRuleConfig = RuleConfig<NoConstantConditionOptions>; | ||
export type NoConstantConditionRuleConfig = | ||
RuleConfig<NoConstantConditionOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -13,3 +13,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoConstructorReturnRuleConfig = RuleConfig<NoConstructorReturnOptions>; | ||
export type NoConstructorReturnRuleConfig = | ||
RuleConfig<NoConstructorReturnOptions>; | ||
@@ -16,0 +17,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoDuplicateImportsRuleConfig = RuleConfig<NoDuplicateImportsOptions>; | ||
export type NoDuplicateImportsRuleConfig = | ||
RuleConfig<NoDuplicateImportsOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoExtraBooleanCastRuleConfig = RuleConfig<NoExtraBooleanCastOptions>; | ||
export type NoExtraBooleanCastRuleConfig = | ||
RuleConfig<NoExtraBooleanCastOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
enforceForFunctionPrototypeMethods?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -25,0 +25,0 @@ |
@@ -24,3 +24,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoImplicitCoercionRuleConfig = RuleConfig<NoImplicitCoercionOptions>; | ||
export type NoImplicitCoercionRuleConfig = | ||
RuleConfig<NoImplicitCoercionOptions>; | ||
@@ -27,0 +28,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoInnerDeclarationsRuleConfig = RuleConfig<NoInnerDeclarationsOptions>; | ||
export type NoInnerDeclarationsRuleConfig = | ||
RuleConfig<NoInnerDeclarationsOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -23,3 +23,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoIrregularWhitespaceRuleConfig = RuleConfig<NoIrregularWhitespaceOptions>; | ||
export type NoIrregularWhitespaceRuleConfig = | ||
RuleConfig<NoIrregularWhitespaceOptions>; | ||
@@ -26,0 +27,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoMixedSpacesAndTabsRuleConfig = RuleConfig<NoMixedSpacesAndTabsOptions>; | ||
export type NoMixedSpacesAndTabsRuleConfig = | ||
RuleConfig<NoMixedSpacesAndTabsOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -22,3 +22,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoMultipleEmptyLinesRuleConfig = RuleConfig<NoMultipleEmptyLinesOptions>; | ||
export type NoMultipleEmptyLinesRuleConfig = | ||
RuleConfig<NoMultipleEmptyLinesOptions>; | ||
@@ -25,0 +26,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedExportsRuleConfig = RuleConfig<NoRestrictedExportsOptions>; | ||
export type NoRestrictedExportsRuleConfig = | ||
RuleConfig<NoRestrictedExportsOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -24,3 +24,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedGlobalsRuleConfig = RuleConfig<NoRestrictedGlobalsOptions>; | ||
export type NoRestrictedGlobalsRuleConfig = | ||
RuleConfig<NoRestrictedGlobalsOptions>; | ||
@@ -27,0 +28,0 @@ /** |
@@ -31,4 +31,5 @@ import type { RuleConfig } from '../rule-config'; | ||
message?: string; | ||
caseSensitive?: boolean; | ||
}[]; | ||
} | ||
}, | ||
]; | ||
@@ -46,3 +47,4 @@ | ||
*/ | ||
export type NoRestrictedImportsRuleConfig = RuleConfig<NoRestrictedImportsOptions>; | ||
export type NoRestrictedImportsRuleConfig = | ||
RuleConfig<NoRestrictedImportsOptions>; | ||
@@ -49,0 +51,0 @@ /** |
@@ -37,3 +37,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedModulesRuleConfig = RuleConfig<NoRestrictedModulesOptions>; | ||
export type NoRestrictedModulesRuleConfig = | ||
RuleConfig<NoRestrictedModulesOptions>; | ||
@@ -40,0 +41,0 @@ /** |
@@ -29,3 +29,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedPropertiesRuleConfig = RuleConfig<NoRestrictedPropertiesOptions>; | ||
export type NoRestrictedPropertiesRuleConfig = | ||
RuleConfig<NoRestrictedPropertiesOptions>; | ||
@@ -32,0 +33,0 @@ /** |
@@ -24,3 +24,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedSyntaxRuleConfig = RuleConfig<NoRestrictedSyntaxOptions>; | ||
export type NoRestrictedSyntaxRuleConfig = | ||
RuleConfig<NoRestrictedSyntaxOptions>; | ||
@@ -27,0 +28,0 @@ /** |
@@ -25,3 +25,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnderscoreDangleRuleConfig = RuleConfig<NoUnderscoreDangleOptions>; | ||
export type NoUnderscoreDangleRuleConfig = | ||
RuleConfig<NoUnderscoreDangleOptions>; | ||
@@ -28,0 +29,0 @@ /** |
@@ -7,3 +7,9 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoUnreachableLoopOption { | ||
ignore?: ('WhileStatement' | 'DoWhileStatement' | 'ForStatement' | 'ForInStatement' | 'ForOfStatement')[]; | ||
ignore?: ( | ||
| 'WhileStatement' | ||
| 'DoWhileStatement' | ||
| 'ForStatement' | ||
| 'ForInStatement' | ||
| 'ForOfStatement' | ||
)[]; | ||
} | ||
@@ -10,0 +16,0 @@ |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnsafeOptionalChainingRuleConfig = RuleConfig<NoUnsafeOptionalChainingOptions>; | ||
export type NoUnsafeOptionalChainingRuleConfig = | ||
RuleConfig<NoUnsafeOptionalChainingOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -23,3 +23,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnusedExpressionsRuleConfig = RuleConfig<NoUnusedExpressionsOptions>; | ||
export type NoUnusedExpressionsRuleConfig = | ||
RuleConfig<NoUnusedExpressionsOptions>; | ||
@@ -26,0 +27,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUselessComputedKeyRuleConfig = RuleConfig<NoUselessComputedKeyOptions>; | ||
export type NoUselessComputedKeyRuleConfig = | ||
RuleConfig<NoUselessComputedKeyOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -26,3 +26,3 @@ import type { RuleConfig } from '../rule-config'; | ||
NonblockStatementBodyPositionOption?, | ||
NonblockStatementBodyPositionConfig? | ||
NonblockStatementBodyPositionConfig?, | ||
]; | ||
@@ -35,3 +35,4 @@ | ||
*/ | ||
export type NonblockStatementBodyPositionRuleConfig = RuleConfig<NonblockStatementBodyPositionOptions>; | ||
export type NonblockStatementBodyPositionRuleConfig = | ||
RuleConfig<NonblockStatementBodyPositionOptions>; | ||
@@ -38,0 +39,0 @@ /** |
@@ -56,3 +56,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ObjectCurlyNewlineRuleConfig = RuleConfig<ObjectCurlyNewlineOptions>; | ||
export type ObjectCurlyNewlineRuleConfig = | ||
RuleConfig<ObjectCurlyNewlineOptions>; | ||
@@ -59,0 +60,0 @@ /** |
@@ -19,3 +19,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ObjectCurlySpacingOptions = [ObjectCurlySpacingOption?, ObjectCurlySpacingConfig?]; | ||
export type ObjectCurlySpacingOptions = [ | ||
ObjectCurlySpacingOption?, | ||
ObjectCurlySpacingConfig?, | ||
]; | ||
@@ -27,3 +30,4 @@ /** | ||
*/ | ||
export type ObjectCurlySpacingRuleConfig = RuleConfig<ObjectCurlySpacingOptions>; | ||
export type ObjectCurlySpacingRuleConfig = | ||
RuleConfig<ObjectCurlySpacingOptions>; | ||
@@ -30,0 +34,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ObjectPropertyNewlineRuleConfig = RuleConfig<ObjectPropertyNewlineOptions>; | ||
export type ObjectPropertyNewlineRuleConfig = | ||
RuleConfig<ObjectPropertyNewlineOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -8,3 +8,10 @@ import type { RuleConfig } from '../rule-config'; | ||
| [] | ||
| ['always' | 'methods' | 'properties' | 'never' | 'consistent' | 'consistent-as-needed'] | ||
| [ | ||
| 'always' | ||
| 'methods' | ||
| 'properties' | ||
| 'never' | ||
| 'consistent' | ||
| 'consistent-as-needed', | ||
] | ||
| [] | ||
@@ -16,3 +23,3 @@ | ['always' | 'methods' | 'properties'] | ||
avoidQuotes?: boolean; | ||
} | ||
}, | ||
] | ||
@@ -27,3 +34,3 @@ | [] | ||
avoidExplicitReturnArrows?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -30,0 +37,0 @@ |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type OneVarDeclarationPerLineRuleConfig = RuleConfig<OneVarDeclarationPerLineOptions>; | ||
export type OneVarDeclarationPerLineRuleConfig = | ||
RuleConfig<OneVarDeclarationPerLineOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type OperatorAssignmentRuleConfig = RuleConfig<OperatorAssignmentOptions>; | ||
export type OperatorAssignmentRuleConfig = | ||
RuleConfig<OperatorAssignmentOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -20,3 +20,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type OperatorLinebreakOptions = [OperatorLinebreakOption?, OperatorLinebreakConfig?]; | ||
export type OperatorLinebreakOptions = [ | ||
OperatorLinebreakOption?, | ||
OperatorLinebreakConfig?, | ||
]; | ||
@@ -23,0 +26,0 @@ /** |
@@ -139,3 +139,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PaddingLineBetweenStatementsOptions = PaddingLineBetweenStatementsOption; | ||
export type PaddingLineBetweenStatementsOptions = | ||
PaddingLineBetweenStatementsOption; | ||
@@ -147,3 +148,4 @@ /** | ||
*/ | ||
export type PaddingLineBetweenStatementsRuleConfig = RuleConfig<PaddingLineBetweenStatementsOptions>; | ||
export type PaddingLineBetweenStatementsRuleConfig = | ||
RuleConfig<PaddingLineBetweenStatementsOptions>; | ||
@@ -150,0 +152,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PreferArrowCallbackRuleConfig = RuleConfig<PreferArrowCallbackOptions>; | ||
export type PreferArrowCallbackRuleConfig = | ||
RuleConfig<PreferArrowCallbackOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -32,3 +32,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PreferDestructuringOptions = [PreferDestructuringOption?, PreferDestructuringConfig?]; | ||
export type PreferDestructuringOptions = [ | ||
PreferDestructuringOption?, | ||
PreferDestructuringConfig?, | ||
]; | ||
@@ -40,3 +43,4 @@ /** | ||
*/ | ||
export type PreferDestructuringRuleConfig = RuleConfig<PreferDestructuringOptions>; | ||
export type PreferDestructuringRuleConfig = | ||
RuleConfig<PreferDestructuringOptions>; | ||
@@ -43,0 +47,0 @@ /** |
@@ -13,3 +13,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PreferPromiseRejectErrorsOptions = [PreferPromiseRejectErrorsOption?]; | ||
export type PreferPromiseRejectErrorsOptions = [ | ||
PreferPromiseRejectErrorsOption?, | ||
]; | ||
@@ -21,3 +23,4 @@ /** | ||
*/ | ||
export type PreferPromiseRejectErrorsRuleConfig = RuleConfig<PreferPromiseRejectErrorsOptions>; | ||
export type PreferPromiseRejectErrorsRuleConfig = | ||
RuleConfig<PreferPromiseRejectErrorsOptions>; | ||
@@ -24,0 +27,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PreferRegexLiteralsRuleConfig = RuleConfig<PreferRegexLiteralsOptions>; | ||
export type PreferRegexLiteralsRuleConfig = | ||
RuleConfig<PreferRegexLiteralsOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -17,3 +17,3 @@ import type { RuleConfig } from '../rule-config'; | ||
numbers?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -20,0 +20,0 @@ |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireAtomicUpdatesRuleConfig = RuleConfig<RequireAtomicUpdatesOptions>; | ||
export type RequireAtomicUpdatesRuleConfig = | ||
RuleConfig<RequireAtomicUpdatesOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -13,3 +13,3 @@ import type { RuleConfig } from '../rule-config'; | ||
beforeStatementContinuationChars?: 'always' | 'any' | 'never'; | ||
} | ||
}, | ||
] | ||
@@ -22,3 +22,3 @@ | [] | ||
omitLastInOneLineBlock?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -25,0 +25,0 @@ |
@@ -12,3 +12,3 @@ import type { RuleConfig } from '../rule-config'; | ||
'none' | 'all' | 'multiple' | 'single', | ||
'none' | 'all' | 'multiple' | 'single' | ||
'none' | 'all' | 'multiple' | 'single', | ||
]; | ||
@@ -15,0 +15,0 @@ ignoreDeclarationSort?: boolean; |
@@ -24,3 +24,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type SpaceBeforeFunctionParenRuleConfig = RuleConfig<SpaceBeforeFunctionParenOptions>; | ||
export type SpaceBeforeFunctionParenRuleConfig = | ||
RuleConfig<SpaceBeforeFunctionParenOptions>; | ||
@@ -27,0 +28,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type SwitchColonSpacingRuleConfig = RuleConfig<SwitchColonSpacingOptions>; | ||
export type SwitchColonSpacingRuleConfig = | ||
RuleConfig<SwitchColonSpacingOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type TemplateCurlySpacingRuleConfig = RuleConfig<TemplateCurlySpacingOptions>; | ||
export type TemplateCurlySpacingRuleConfig = | ||
RuleConfig<TemplateCurlySpacingOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type TemplateTagSpacingRuleConfig = RuleConfig<TemplateTagSpacingOptions>; | ||
export type TemplateTagSpacingRuleConfig = | ||
RuleConfig<TemplateTagSpacingOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -25,3 +25,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type CheckLineAlignmentOptions = [CheckLineAlignmentOption?, CheckLineAlignmentConfig?]; | ||
export type CheckLineAlignmentOptions = [ | ||
CheckLineAlignmentOption?, | ||
CheckLineAlignmentConfig?, | ||
]; | ||
@@ -33,3 +36,4 @@ /** | ||
*/ | ||
export type CheckLineAlignmentRuleConfig = RuleConfig<CheckLineAlignmentOptions>; | ||
export type CheckLineAlignmentRuleConfig = | ||
RuleConfig<CheckLineAlignmentOptions>; | ||
@@ -36,0 +40,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type CheckPropertyNamesRuleConfig = RuleConfig<CheckPropertyNamesOptions>; | ||
export type CheckPropertyNamesRuleConfig = | ||
RuleConfig<CheckPropertyNamesOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -26,3 +26,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ImplementsOnClassesRuleConfig = RuleConfig<ImplementsOnClassesOptions>; | ||
export type ImplementsOnClassesRuleConfig = | ||
RuleConfig<ImplementsOnClassesOptions>; | ||
@@ -29,0 +30,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NewlineAfterDescriptionRuleConfig = RuleConfig<NewlineAfterDescriptionOptions>; | ||
export type NewlineAfterDescriptionRuleConfig = | ||
RuleConfig<NewlineAfterDescriptionOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -27,3 +27,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedSyntaxRuleConfig = RuleConfig<NoRestrictedSyntaxOptions>; | ||
export type NoRestrictedSyntaxRuleConfig = | ||
RuleConfig<NoRestrictedSyntaxOptions>; | ||
@@ -30,0 +31,0 @@ /** |
@@ -23,3 +23,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireAsteriskPrefixOptions = [RequireAsteriskPrefixOption?, RequireAsteriskPrefixConfig?]; | ||
export type RequireAsteriskPrefixOptions = [ | ||
RequireAsteriskPrefixOption?, | ||
RequireAsteriskPrefixConfig?, | ||
]; | ||
@@ -31,3 +34,4 @@ /** | ||
*/ | ||
export type RequireAsteriskPrefixRuleConfig = RuleConfig<RequireAsteriskPrefixOptions>; | ||
export type RequireAsteriskPrefixRuleConfig = | ||
RuleConfig<RequireAsteriskPrefixOptions>; | ||
@@ -34,0 +38,0 @@ /** |
@@ -15,3 +15,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireDescriptionCompleteSentenceOptions = [RequireDescriptionCompleteSentenceOption?]; | ||
export type RequireDescriptionCompleteSentenceOptions = [ | ||
RequireDescriptionCompleteSentenceOption?, | ||
]; | ||
@@ -23,3 +25,4 @@ /** | ||
*/ | ||
export type RequireDescriptionCompleteSentenceRuleConfig = RuleConfig<RequireDescriptionCompleteSentenceOptions>; | ||
export type RequireDescriptionCompleteSentenceRuleConfig = | ||
RuleConfig<RequireDescriptionCompleteSentenceOptions>; | ||
@@ -26,0 +29,0 @@ /** |
@@ -31,3 +31,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireDescriptionRuleConfig = RuleConfig<RequireDescriptionOptions>; | ||
export type RequireDescriptionRuleConfig = | ||
RuleConfig<RequireDescriptionOptions>; | ||
@@ -34,0 +35,0 @@ /** |
@@ -26,3 +26,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireFileOverviewRuleConfig = RuleConfig<RequireFileOverviewOptions>; | ||
export type RequireFileOverviewRuleConfig = | ||
RuleConfig<RequireFileOverviewOptions>; | ||
@@ -29,0 +30,0 @@ /** |
@@ -24,3 +24,3 @@ import type { RuleConfig } from '../rule-config'; | ||
RequireHyphenBeforeParamDescriptionOption?, | ||
RequireHyphenBeforeParamDescriptionConfig? | ||
RequireHyphenBeforeParamDescriptionConfig?, | ||
]; | ||
@@ -33,3 +33,4 @@ | ||
*/ | ||
export type RequireHyphenBeforeParamDescriptionRuleConfig = RuleConfig<RequireHyphenBeforeParamDescriptionOptions>; | ||
export type RequireHyphenBeforeParamDescriptionRuleConfig = | ||
RuleConfig<RequireHyphenBeforeParamDescriptionOptions>; | ||
@@ -36,0 +37,0 @@ /** |
@@ -26,3 +26,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireParamDescriptionRuleConfig = RuleConfig<RequireParamDescriptionOptions>; | ||
export type RequireParamDescriptionRuleConfig = | ||
RuleConfig<RequireParamDescriptionOptions>; | ||
@@ -29,0 +30,0 @@ /** |
@@ -22,3 +22,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireReturnsCheckRuleConfig = RuleConfig<RequireReturnsCheckOptions>; | ||
export type RequireReturnsCheckRuleConfig = | ||
RuleConfig<RequireReturnsCheckOptions>; | ||
@@ -25,0 +26,0 @@ /** |
@@ -19,3 +19,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireReturnsDescriptionOptions = [RequireReturnsDescriptionOption?]; | ||
export type RequireReturnsDescriptionOptions = [ | ||
RequireReturnsDescriptionOption?, | ||
]; | ||
@@ -27,3 +29,4 @@ /** | ||
*/ | ||
export type RequireReturnsDescriptionRuleConfig = RuleConfig<RequireReturnsDescriptionOptions>; | ||
export type RequireReturnsDescriptionRuleConfig = | ||
RuleConfig<RequireReturnsDescriptionOptions>; | ||
@@ -30,0 +33,0 @@ /** |
@@ -26,3 +26,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireReturnsTypeRuleConfig = RuleConfig<RequireReturnsTypeOptions>; | ||
export type RequireReturnsTypeRuleConfig = | ||
RuleConfig<RequireReturnsTypeOptions>; | ||
@@ -29,0 +30,0 @@ /** |
@@ -29,3 +29,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireYieldsCheckRuleConfig = RuleConfig<RequireYieldsCheckOptions>; | ||
export type RequireYieldsCheckRuleConfig = | ||
RuleConfig<RequireYieldsCheckOptions>; | ||
@@ -32,0 +33,0 @@ /** |
@@ -22,3 +22,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type FileExtensionInImportOptions = [FileExtensionInImportOption?, FileExtensionInImportConfig?]; | ||
export type FileExtensionInImportOptions = [ | ||
FileExtensionInImportOption?, | ||
FileExtensionInImportConfig?, | ||
]; | ||
@@ -30,3 +33,4 @@ /** | ||
*/ | ||
export type FileExtensionInImportRuleConfig = RuleConfig<FileExtensionInImportOptions>; | ||
export type FileExtensionInImportRuleConfig = | ||
RuleConfig<FileExtensionInImportOptions>; | ||
@@ -33,0 +37,0 @@ /** |
@@ -38,3 +38,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoExtraneousImportRuleConfig = RuleConfig<NoExtraneousImportOptions>; | ||
export type NoExtraneousImportRuleConfig = | ||
RuleConfig<NoExtraneousImportOptions>; | ||
@@ -41,0 +42,0 @@ /** |
@@ -38,3 +38,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoExtraneousRequireRuleConfig = RuleConfig<NoExtraneousRequireOptions>; | ||
export type NoExtraneousRequireRuleConfig = | ||
RuleConfig<NoExtraneousRequireOptions>; | ||
@@ -41,0 +42,0 @@ /** |
@@ -24,3 +24,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedImportRuleConfig = RuleConfig<NoRestrictedImportOptions>; | ||
export type NoRestrictedImportRuleConfig = | ||
RuleConfig<NoRestrictedImportOptions>; | ||
@@ -27,0 +28,0 @@ /** |
@@ -24,3 +24,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedRequireRuleConfig = RuleConfig<NoRestrictedRequireOptions>; | ||
export type NoRestrictedRequireRuleConfig = | ||
RuleConfig<NoRestrictedRequireOptions>; | ||
@@ -27,0 +28,0 @@ /** |
@@ -38,3 +38,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnpublishedImportRuleConfig = RuleConfig<NoUnpublishedImportOptions>; | ||
export type NoUnpublishedImportRuleConfig = | ||
RuleConfig<NoUnpublishedImportOptions>; | ||
@@ -41,0 +42,0 @@ /** |
@@ -38,3 +38,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnpublishedRequireRuleConfig = RuleConfig<NoUnpublishedRequireOptions>; | ||
export type NoUnpublishedRequireRuleConfig = | ||
RuleConfig<NoUnpublishedRequireOptions>; | ||
@@ -41,0 +42,0 @@ /** |
@@ -10,3 +10,5 @@ import type { RuleConfig } from '../rule-config'; | ||
| { | ||
version?: (0.1 | 0.12 | 4 | 5 | 6 | 6.5 | 7 | 7.6 | 8 | 8.3 | 9 | 10) | string; | ||
version?: | ||
| (0.1 | 0.12 | 4 | 5 | 6 | 6.5 | 7 | 7.6 | 8 | 8.3 | 9 | 10) | ||
| string; | ||
ignores?: ( | ||
@@ -162,3 +164,4 @@ | 'syntax' | ||
*/ | ||
export type NoUnsupportedFeaturesRuleConfig = RuleConfig<NoUnsupportedFeaturesOptions>; | ||
export type NoUnsupportedFeaturesRuleConfig = | ||
RuleConfig<NoUnsupportedFeaturesOptions>; | ||
@@ -165,0 +168,0 @@ /** |
@@ -78,3 +78,5 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type NoUnsupportedFeaturesEsBuiltinsOptions = [NoUnsupportedFeaturesEsBuiltinsOption?]; | ||
export type NoUnsupportedFeaturesEsBuiltinsOptions = [ | ||
NoUnsupportedFeaturesEsBuiltinsOption?, | ||
]; | ||
@@ -86,3 +88,4 @@ /** | ||
*/ | ||
export type NoUnsupportedFeaturesEsBuiltinsRuleConfig = RuleConfig<NoUnsupportedFeaturesEsBuiltinsOptions>; | ||
export type NoUnsupportedFeaturesEsBuiltinsRuleConfig = | ||
RuleConfig<NoUnsupportedFeaturesEsBuiltinsOptions>; | ||
@@ -89,0 +92,0 @@ /** |
@@ -50,3 +50,5 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type NoUnsupportedFeaturesEsSyntaxOptions = [NoUnsupportedFeaturesEsSyntaxOption?]; | ||
export type NoUnsupportedFeaturesEsSyntaxOptions = [ | ||
NoUnsupportedFeaturesEsSyntaxOption?, | ||
]; | ||
@@ -58,3 +60,4 @@ /** | ||
*/ | ||
export type NoUnsupportedFeaturesEsSyntaxRuleConfig = RuleConfig<NoUnsupportedFeaturesEsSyntaxOptions>; | ||
export type NoUnsupportedFeaturesEsSyntaxRuleConfig = | ||
RuleConfig<NoUnsupportedFeaturesEsSyntaxOptions>; | ||
@@ -61,0 +64,0 @@ /** |
@@ -171,3 +171,5 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type NoUnsupportedFeaturesNodeBuiltinsOptions = [NoUnsupportedFeaturesNodeBuiltinsOption?]; | ||
export type NoUnsupportedFeaturesNodeBuiltinsOptions = [ | ||
NoUnsupportedFeaturesNodeBuiltinsOption?, | ||
]; | ||
@@ -179,3 +181,4 @@ /** | ||
*/ | ||
export type NoUnsupportedFeaturesNodeBuiltinsRuleConfig = RuleConfig<NoUnsupportedFeaturesNodeBuiltinsOptions>; | ||
export type NoUnsupportedFeaturesNodeBuiltinsRuleConfig = | ||
RuleConfig<NoUnsupportedFeaturesNodeBuiltinsOptions>; | ||
@@ -182,0 +185,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type PreferGlobalBufferRuleConfig = RuleConfig<PreferGlobalBufferOptions>; | ||
export type PreferGlobalBufferRuleConfig = | ||
RuleConfig<PreferGlobalBufferOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type PreferGlobalConsoleRuleConfig = RuleConfig<PreferGlobalConsoleOptions>; | ||
export type PreferGlobalConsoleRuleConfig = | ||
RuleConfig<PreferGlobalConsoleOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type PreferGlobalProcessRuleConfig = RuleConfig<PreferGlobalProcessOptions>; | ||
export type PreferGlobalProcessRuleConfig = | ||
RuleConfig<PreferGlobalProcessOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type PreferGlobalTextDecoderRuleConfig = RuleConfig<PreferGlobalTextDecoderOptions>; | ||
export type PreferGlobalTextDecoderRuleConfig = | ||
RuleConfig<PreferGlobalTextDecoderOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type PreferGlobalTextEncoderRuleConfig = RuleConfig<PreferGlobalTextEncoderOptions>; | ||
export type PreferGlobalTextEncoderRuleConfig = | ||
RuleConfig<PreferGlobalTextEncoderOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -11,3 +11,5 @@ import type { RuleConfig } from '../../rule-config'; | ||
*/ | ||
export type PreferGlobalUrlSearchParamsOptions = [PreferGlobalUrlSearchParamsOption?]; | ||
export type PreferGlobalUrlSearchParamsOptions = [ | ||
PreferGlobalUrlSearchParamsOption?, | ||
]; | ||
@@ -19,3 +21,4 @@ /** | ||
*/ | ||
export type PreferGlobalUrlSearchParamsRuleConfig = RuleConfig<PreferGlobalUrlSearchParamsOptions>; | ||
export type PreferGlobalUrlSearchParamsRuleConfig = | ||
RuleConfig<PreferGlobalUrlSearchParamsOptions>; | ||
@@ -22,0 +25,0 @@ /** |
@@ -6,2 +6,4 @@ import type { RuleSeverity } from './rule-severity'; | ||
*/ | ||
export type RuleConfig<Options extends unknown[] = unknown[]> = RuleSeverity | [RuleSeverity, ...Options]; | ||
export type RuleConfig<Options extends unknown[] = unknown[]> = | ||
| RuleSeverity | ||
| [RuleSeverity, ...Options]; |
@@ -11,3 +11,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ClassLiteralPropertyStyleOptions = [ClassLiteralPropertyStyleOption?]; | ||
export type ClassLiteralPropertyStyleOptions = [ | ||
ClassLiteralPropertyStyleOption?, | ||
]; | ||
@@ -19,3 +21,4 @@ /** | ||
*/ | ||
export type ClassLiteralPropertyStyleRuleConfig = RuleConfig<ClassLiteralPropertyStyleOptions>; | ||
export type ClassLiteralPropertyStyleRuleConfig = | ||
RuleConfig<ClassLiteralPropertyStyleOptions>; | ||
@@ -22,0 +25,0 @@ /** |
@@ -19,6 +19,11 @@ import type { RuleConfig } from '../rule-config'; | ||
tuples?: ValueWithIgnore; | ||
} | ||
}, | ||
]; | ||
export type Value = 'always-multiline' | 'always' | 'never' | 'only-multiline'; | ||
export type ValueWithIgnore = 'always-multiline' | 'always' | 'never' | 'only-multiline' | 'ignore'; | ||
export type ValueWithIgnore = | ||
| 'always-multiline' | ||
| 'always' | ||
| 'never' | ||
| 'only-multiline' | ||
| 'ignore'; | ||
@@ -25,0 +30,0 @@ /** |
@@ -11,3 +11,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ConsistentIndexedObjectStyleOptions = [ConsistentIndexedObjectStyleOption?]; | ||
export type ConsistentIndexedObjectStyleOptions = [ | ||
ConsistentIndexedObjectStyleOption?, | ||
]; | ||
@@ -19,3 +21,4 @@ /** | ||
*/ | ||
export type ConsistentIndexedObjectStyleRuleConfig = RuleConfig<ConsistentIndexedObjectStyleOptions>; | ||
export type ConsistentIndexedObjectStyleRuleConfig = | ||
RuleConfig<ConsistentIndexedObjectStyleOptions>; | ||
@@ -22,0 +25,0 @@ /** |
@@ -25,3 +25,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ConsistentTypeAssertionsRuleConfig = RuleConfig<ConsistentTypeAssertionsOptions>; | ||
export type ConsistentTypeAssertionsRuleConfig = | ||
RuleConfig<ConsistentTypeAssertionsOptions>; | ||
@@ -28,0 +29,0 @@ /** |
@@ -11,3 +11,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ConsistentTypeDefinitionsOptions = [ConsistentTypeDefinitionsOption?]; | ||
export type ConsistentTypeDefinitionsOptions = [ | ||
ConsistentTypeDefinitionsOption?, | ||
]; | ||
@@ -19,3 +21,4 @@ /** | ||
*/ | ||
export type ConsistentTypeDefinitionsRuleConfig = RuleConfig<ConsistentTypeDefinitionsOptions>; | ||
export type ConsistentTypeDefinitionsRuleConfig = | ||
RuleConfig<ConsistentTypeDefinitionsOptions>; | ||
@@ -22,0 +25,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ConsistentTypeExportsRuleConfig = RuleConfig<ConsistentTypeExportsOptions>; | ||
export type ConsistentTypeExportsRuleConfig = | ||
RuleConfig<ConsistentTypeExportsOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ConsistentTypeImportsRuleConfig = RuleConfig<ConsistentTypeImportsOptions>; | ||
export type ConsistentTypeImportsRuleConfig = | ||
RuleConfig<ConsistentTypeImportsOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -17,3 +17,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ExplicitFunctionReturnTypeOptions = [ExplicitFunctionReturnTypeOption?]; | ||
export type ExplicitFunctionReturnTypeOptions = [ | ||
ExplicitFunctionReturnTypeOption?, | ||
]; | ||
@@ -25,3 +27,4 @@ /** | ||
*/ | ||
export type ExplicitFunctionReturnTypeRuleConfig = RuleConfig<ExplicitFunctionReturnTypeOptions>; | ||
export type ExplicitFunctionReturnTypeRuleConfig = | ||
RuleConfig<ExplicitFunctionReturnTypeOptions>; | ||
@@ -28,0 +31,0 @@ /** |
@@ -21,3 +21,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ExplicitMemberAccessibilityOptions = [ExplicitMemberAccessibilityOption?]; | ||
export type ExplicitMemberAccessibilityOptions = [ | ||
ExplicitMemberAccessibilityOption?, | ||
]; | ||
@@ -29,3 +31,4 @@ /** | ||
*/ | ||
export type ExplicitMemberAccessibilityRuleConfig = RuleConfig<ExplicitMemberAccessibilityOptions>; | ||
export type ExplicitMemberAccessibilityRuleConfig = | ||
RuleConfig<ExplicitMemberAccessibilityOptions>; | ||
@@ -32,0 +35,0 @@ /** |
@@ -18,3 +18,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ExplicitModuleBoundaryTypesOptions = [ExplicitModuleBoundaryTypesOption?]; | ||
export type ExplicitModuleBoundaryTypesOptions = [ | ||
ExplicitModuleBoundaryTypesOption?, | ||
]; | ||
@@ -26,3 +28,4 @@ /** | ||
*/ | ||
export type ExplicitModuleBoundaryTypesRuleConfig = RuleConfig<ExplicitModuleBoundaryTypesOptions>; | ||
export type ExplicitModuleBoundaryTypesRuleConfig = | ||
RuleConfig<ExplicitModuleBoundaryTypesOptions>; | ||
@@ -29,0 +32,0 @@ /** |
@@ -15,3 +15,3 @@ import type { RuleConfig } from '../rule-config'; | ||
allowNewlines?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -18,0 +18,0 @@ |
@@ -15,3 +15,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignoreForLoopInit?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -18,0 +18,0 @@ |
import type { | ||
LinesBetweenClassMembersConfig as BaseConfig, | ||
LinesBetweenClassMembersOption | ||
LinesBetweenClassMembersOption, | ||
} from '../eslint/lines-between-class-members'; | ||
@@ -17,3 +17,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type LinesBetweenClassMembersOptions = [LinesBetweenClassMembersOption?, LinesBetweenClassMembersConfig?]; | ||
export type LinesBetweenClassMembersOptions = [ | ||
LinesBetweenClassMembersOption?, | ||
LinesBetweenClassMembersConfig?, | ||
]; | ||
@@ -25,3 +28,4 @@ /** | ||
*/ | ||
export type LinesBetweenClassMembersRuleConfig = RuleConfig<LinesBetweenClassMembersOptions>; | ||
export type LinesBetweenClassMembersRuleConfig = | ||
RuleConfig<LinesBetweenClassMembersOptions>; | ||
@@ -28,0 +32,0 @@ /** |
@@ -50,3 +50,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MemberDelimiterStyleRuleConfig = RuleConfig<MemberDelimiterStyleOptions>; | ||
export type MemberDelimiterStyleRuleConfig = | ||
RuleConfig<MemberDelimiterStyleOptions>; | ||
@@ -53,0 +54,0 @@ /** |
@@ -218,3 +218,6 @@ import type { RuleConfig } from '../rule-config'; | ||
| 'never'; | ||
order?: 'alphabetically' | 'alphabetically-case-insensitive' | 'as-written'; | ||
order?: | ||
| 'alphabetically' | ||
| 'alphabetically-case-insensitive' | ||
| 'as-written'; | ||
}; | ||
@@ -432,3 +435,6 @@ classes?: | ||
| 'never'; | ||
order?: 'alphabetically' | 'alphabetically-case-insensitive' | 'as-written'; | ||
order?: | ||
| 'alphabetically' | ||
| 'alphabetically-case-insensitive' | ||
| 'as-written'; | ||
}; | ||
@@ -646,3 +652,6 @@ classExpressions?: | ||
| 'never'; | ||
order?: 'alphabetically' | 'alphabetically-case-insensitive' | 'as-written'; | ||
order?: | ||
| 'alphabetically' | ||
| 'alphabetically-case-insensitive' | ||
| 'as-written'; | ||
}; | ||
@@ -653,4 +662,9 @@ interfaces?: | ||
| { | ||
memberTypes?: ('signature' | 'field' | 'method' | 'constructor')[] | 'never'; | ||
order?: 'alphabetically' | 'alphabetically-case-insensitive' | 'as-written'; | ||
memberTypes?: | ||
| ('signature' | 'field' | 'method' | 'constructor')[] | ||
| 'never'; | ||
order?: | ||
| 'alphabetically' | ||
| 'alphabetically-case-insensitive' | ||
| 'as-written'; | ||
}; | ||
@@ -661,4 +675,9 @@ typeLiterals?: | ||
| { | ||
memberTypes?: ('signature' | 'field' | 'method' | 'constructor')[] | 'never'; | ||
order?: 'alphabetically' | 'alphabetically-case-insensitive' | 'as-written'; | ||
memberTypes?: | ||
| ('signature' | 'field' | 'method' | 'constructor')[] | ||
| 'never'; | ||
order?: | ||
| 'alphabetically' | ||
| 'alphabetically-case-insensitive' | ||
| 'as-written'; | ||
}; | ||
@@ -665,0 +684,0 @@ } |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MethodSignatureStyleRuleConfig = RuleConfig<MethodSignatureStyleOptions>; | ||
export type MethodSignatureStyleRuleConfig = | ||
RuleConfig<MethodSignatureStyleOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -9,3 +9,10 @@ import type { RuleConfig } from '../rule-config'; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -17,4 +24,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -73,3 +92,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -81,4 +107,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -112,3 +150,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -120,4 +165,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -138,3 +195,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -146,4 +210,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -160,3 +236,9 @@ suffix?: string[]; | ||
selector: 'variable'; | ||
modifiers?: ('const' | 'destructured' | 'exported' | 'global' | 'unused')[]; | ||
modifiers?: ( | ||
| 'const' | ||
| 'destructured' | ||
| 'exported' | ||
| 'global' | ||
| 'unused' | ||
)[]; | ||
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; | ||
@@ -166,3 +248,10 @@ } | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -174,4 +263,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -192,3 +293,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -200,4 +308,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -219,3 +339,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -227,4 +354,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -241,7 +380,22 @@ suffix?: string[]; | ||
selector: 'memberLike'; | ||
modifiers?: ('abstract' | 'private' | 'protected' | 'public' | 'readonly' | 'requiresQuotes' | 'static')[]; | ||
modifiers?: ( | ||
| 'abstract' | ||
| 'private' | ||
| 'protected' | ||
| 'public' | ||
| 'readonly' | ||
| 'requiresQuotes' | ||
| 'static' | ||
)[]; | ||
} | ||
| { | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -253,4 +407,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -267,3 +433,11 @@ suffix?: string[]; | ||
selector: 'classProperty'; | ||
modifiers?: ('abstract' | 'private' | 'protected' | 'public' | 'readonly' | 'requiresQuotes' | 'static')[]; | ||
modifiers?: ( | ||
| 'abstract' | ||
| 'private' | ||
| 'protected' | ||
| 'public' | ||
| 'readonly' | ||
| 'requiresQuotes' | ||
| 'static' | ||
)[]; | ||
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; | ||
@@ -273,3 +447,10 @@ } | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -281,4 +462,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -300,3 +493,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -308,4 +508,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -327,3 +539,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -335,4 +554,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -354,3 +585,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -362,4 +600,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -376,3 +626,11 @@ suffix?: string[]; | ||
selector: 'property'; | ||
modifiers?: ('abstract' | 'private' | 'protected' | 'public' | 'readonly' | 'requiresQuotes' | 'static')[]; | ||
modifiers?: ( | ||
| 'abstract' | ||
| 'private' | ||
| 'protected' | ||
| 'public' | ||
| 'readonly' | ||
| 'requiresQuotes' | ||
| 'static' | ||
)[]; | ||
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; | ||
@@ -382,3 +640,10 @@ } | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -390,4 +655,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -404,7 +681,21 @@ suffix?: string[]; | ||
selector: 'classMethod'; | ||
modifiers?: ('abstract' | 'private' | 'protected' | 'public' | 'requiresQuotes' | 'static')[]; | ||
modifiers?: ( | ||
| 'abstract' | ||
| 'private' | ||
| 'protected' | ||
| 'public' | ||
| 'requiresQuotes' | ||
| 'static' | ||
)[]; | ||
} | ||
| { | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -416,4 +707,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -434,3 +737,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -442,4 +752,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -460,3 +782,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -468,4 +797,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -482,7 +823,21 @@ suffix?: string[]; | ||
selector: 'method'; | ||
modifiers?: ('abstract' | 'private' | 'protected' | 'public' | 'requiresQuotes' | 'static')[]; | ||
modifiers?: ( | ||
| 'abstract' | ||
| 'private' | ||
| 'protected' | ||
| 'public' | ||
| 'requiresQuotes' | ||
| 'static' | ||
)[]; | ||
} | ||
| { | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -494,4 +849,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -508,3 +875,10 @@ suffix?: string[]; | ||
selector: 'accessor'; | ||
modifiers?: ('abstract' | 'private' | 'protected' | 'public' | 'requiresQuotes' | 'static')[]; | ||
modifiers?: ( | ||
| 'abstract' | ||
| 'private' | ||
| 'protected' | ||
| 'public' | ||
| 'requiresQuotes' | ||
| 'static' | ||
)[]; | ||
types?: ('boolean' | 'string' | 'number' | 'function' | 'array')[]; | ||
@@ -514,3 +888,10 @@ } | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -522,4 +903,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -540,3 +933,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -548,4 +948,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -566,3 +978,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -574,4 +993,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -592,3 +1023,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -600,4 +1038,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -618,3 +1068,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -626,4 +1083,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -644,3 +1113,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -652,4 +1128,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -670,3 +1158,10 @@ suffix?: string[]; | ||
format: | ||
| ('camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE')[] | ||
| ( | ||
| 'camelCase' | ||
| 'strictCamelCase' | ||
| 'PascalCase' | ||
| 'StrictPascalCase' | ||
| 'snake_case' | ||
| 'UPPER_CASE' | ||
)[] | ||
| null; | ||
@@ -678,4 +1173,16 @@ custom?: { | ||
}; | ||
leadingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
trailingUnderscore?: 'forbid' | 'allow' | 'require' | 'requireDouble' | 'allowDouble' | 'allowSingleOrDouble'; | ||
leadingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
trailingUnderscore?: | ||
| 'forbid' | ||
| 'allow' | ||
| 'require' | ||
| 'requireDouble' | ||
| 'allowDouble' | ||
| 'allowSingleOrDouble'; | ||
prefix?: string[]; | ||
@@ -682,0 +1189,0 @@ suffix?: string[]; |
@@ -14,3 +14,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoConfusingVoidExpressionOptions = [NoConfusingVoidExpressionOption?]; | ||
export type NoConfusingVoidExpressionOptions = [ | ||
NoConfusingVoidExpressionOption?, | ||
]; | ||
@@ -22,3 +24,4 @@ /** | ||
*/ | ||
export type NoConfusingVoidExpressionRuleConfig = RuleConfig<NoConfusingVoidExpressionOptions>; | ||
export type NoConfusingVoidExpressionRuleConfig = | ||
RuleConfig<NoConfusingVoidExpressionOptions>; | ||
@@ -25,0 +28,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoDuplicateImportsRuleConfig = RuleConfig<NoDuplicateImportsOptions>; | ||
export type NoDuplicateImportsRuleConfig = | ||
RuleConfig<NoDuplicateImportsOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
enforceForFunctionPrototypeMethods?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -25,0 +25,0 @@ |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoFloatingPromisesRuleConfig = RuleConfig<NoFloatingPromisesOptions>; | ||
export type NoFloatingPromisesRuleConfig = | ||
RuleConfig<NoFloatingPromisesOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -22,3 +22,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoImplicitAnyCatchRuleConfig = RuleConfig<NoImplicitAnyCatchOptions>; | ||
export type NoImplicitAnyCatchRuleConfig = | ||
RuleConfig<NoImplicitAnyCatchOptions>; | ||
@@ -25,0 +26,0 @@ /** |
@@ -13,3 +13,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoMeaninglessVoidOperatorOptions = [NoMeaninglessVoidOperatorOption?]; | ||
export type NoMeaninglessVoidOperatorOptions = [ | ||
NoMeaninglessVoidOperatorOption?, | ||
]; | ||
@@ -21,3 +23,4 @@ /** | ||
*/ | ||
export type NoMeaninglessVoidOperatorRuleConfig = RuleConfig<NoMeaninglessVoidOperatorOptions>; | ||
export type NoMeaninglessVoidOperatorRuleConfig = | ||
RuleConfig<NoMeaninglessVoidOperatorOptions>; | ||
@@ -24,0 +27,0 @@ /** |
@@ -8,3 +8,11 @@ import type { RuleConfig } from '../rule-config'; | ||
allows?: [ | ||
'readonly' | 'private' | 'protected' | 'public' | 'private readonly' | 'protected readonly' | 'public readonly', | ||
( | ||
| 'readonly' | ||
| 'private' | ||
| 'protected' | ||
| 'public' | ||
| 'private readonly' | ||
| 'protected readonly' | ||
| 'public readonly' | ||
), | ||
...( | ||
@@ -32,3 +40,4 @@ | 'readonly' | ||
*/ | ||
export type NoParameterPropertiesRuleConfig = RuleConfig<NoParameterPropertiesOptions>; | ||
export type NoParameterPropertiesRuleConfig = | ||
RuleConfig<NoParameterPropertiesOptions>; | ||
@@ -35,0 +44,0 @@ /** |
@@ -41,3 +41,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedImportsRuleConfig = RuleConfig<NoRestrictedImportsOptions>; | ||
export type NoRestrictedImportsRuleConfig = | ||
RuleConfig<NoRestrictedImportsOptions>; | ||
@@ -44,0 +45,0 @@ /** |
@@ -7,9 +7,29 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoTypeAliasOption { | ||
allowAliases?: 'always' | 'never' | 'in-unions' | 'in-intersections' | 'in-unions-and-intersections'; | ||
allowAliases?: | ||
| 'always' | ||
| 'never' | ||
| 'in-unions' | ||
| 'in-intersections' | ||
| 'in-unions-and-intersections'; | ||
allowCallbacks?: 'always' | 'never'; | ||
allowConditionalTypes?: 'always' | 'never'; | ||
allowConstructors?: 'always' | 'never'; | ||
allowLiterals?: 'always' | 'never' | 'in-unions' | 'in-intersections' | 'in-unions-and-intersections'; | ||
allowMappedTypes?: 'always' | 'never' | 'in-unions' | 'in-intersections' | 'in-unions-and-intersections'; | ||
allowTupleTypes?: 'always' | 'never' | 'in-unions' | 'in-intersections' | 'in-unions-and-intersections'; | ||
allowLiterals?: | ||
| 'always' | ||
| 'never' | ||
| 'in-unions' | ||
| 'in-intersections' | ||
| 'in-unions-and-intersections'; | ||
allowMappedTypes?: | ||
| 'always' | ||
| 'never' | ||
| 'in-unions' | ||
| 'in-intersections' | ||
| 'in-unions-and-intersections'; | ||
allowTupleTypes?: | ||
| 'always' | ||
| 'never' | ||
| 'in-unions' | ||
| 'in-intersections' | ||
| 'in-unions-and-intersections'; | ||
allowGenerics?: 'always' | 'never'; | ||
@@ -16,0 +36,0 @@ } |
@@ -14,3 +14,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnnecessaryBooleanLiteralCompareOptions = [NoUnnecessaryBooleanLiteralCompareOption?]; | ||
export type NoUnnecessaryBooleanLiteralCompareOptions = [ | ||
NoUnnecessaryBooleanLiteralCompareOption?, | ||
]; | ||
@@ -22,3 +24,4 @@ /** | ||
*/ | ||
export type NoUnnecessaryBooleanLiteralCompareRuleConfig = RuleConfig<NoUnnecessaryBooleanLiteralCompareOptions>; | ||
export type NoUnnecessaryBooleanLiteralCompareRuleConfig = | ||
RuleConfig<NoUnnecessaryBooleanLiteralCompareOptions>; | ||
@@ -25,0 +28,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnnecessaryConditionRuleConfig = RuleConfig<NoUnnecessaryConditionOptions>; | ||
export type NoUnnecessaryConditionRuleConfig = | ||
RuleConfig<NoUnnecessaryConditionOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -14,3 +14,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnnecessaryTypeAssertionOptions = [NoUnnecessaryTypeAssertionOption?]; | ||
export type NoUnnecessaryTypeAssertionOptions = [ | ||
NoUnnecessaryTypeAssertionOption?, | ||
]; | ||
@@ -22,3 +24,4 @@ /** | ||
*/ | ||
export type NoUnnecessaryTypeAssertionRuleConfig = RuleConfig<NoUnnecessaryTypeAssertionOptions>; | ||
export type NoUnnecessaryTypeAssertionRuleConfig = | ||
RuleConfig<NoUnnecessaryTypeAssertionOptions>; | ||
@@ -25,0 +28,0 @@ /** |
@@ -23,3 +23,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnusedExpressionsRuleConfig = RuleConfig<NoUnusedExpressionsOptions>; | ||
export type NoUnusedExpressionsRuleConfig = | ||
RuleConfig<NoUnusedExpressionsOptions>; | ||
@@ -26,0 +27,0 @@ /** |
@@ -19,3 +19,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ObjectCurlySpacingOptions = [ObjectCurlySpacingOption?, ObjectCurlySpacingConfig?]; | ||
export type ObjectCurlySpacingOptions = [ | ||
ObjectCurlySpacingOption?, | ||
ObjectCurlySpacingConfig?, | ||
]; | ||
@@ -27,3 +30,4 @@ /** | ||
*/ | ||
export type ObjectCurlySpacingRuleConfig = RuleConfig<ObjectCurlySpacingOptions>; | ||
export type ObjectCurlySpacingRuleConfig = | ||
RuleConfig<ObjectCurlySpacingOptions>; | ||
@@ -30,0 +34,0 @@ /** |
@@ -145,3 +145,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PaddingLineBetweenStatementsOptions = PaddingLineBetweenStatementsOption; | ||
export type PaddingLineBetweenStatementsOptions = | ||
PaddingLineBetweenStatementsOption; | ||
@@ -153,3 +154,4 @@ /** | ||
*/ | ||
export type PaddingLineBetweenStatementsRuleConfig = RuleConfig<PaddingLineBetweenStatementsOptions>; | ||
export type PaddingLineBetweenStatementsRuleConfig = | ||
RuleConfig<PaddingLineBetweenStatementsOptions>; | ||
@@ -156,0 +158,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PreferLiteralEnumMemberRuleConfig = RuleConfig<PreferLiteralEnumMemberOptions>; | ||
export type PreferLiteralEnumMemberRuleConfig = | ||
RuleConfig<PreferLiteralEnumMemberOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -22,3 +22,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PreferNullishCoalescingRuleConfig = RuleConfig<PreferNullishCoalescingOptions>; | ||
export type PreferNullishCoalescingRuleConfig = | ||
RuleConfig<PreferNullishCoalescingOptions>; | ||
@@ -25,0 +26,0 @@ /** |
@@ -15,3 +15,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PreferReadonlyParameterTypesOptions = [PreferReadonlyParameterTypesOption?]; | ||
export type PreferReadonlyParameterTypesOptions = [ | ||
PreferReadonlyParameterTypesOption?, | ||
]; | ||
@@ -23,3 +25,4 @@ /** | ||
*/ | ||
export type PreferReadonlyParameterTypesRuleConfig = RuleConfig<PreferReadonlyParameterTypesOptions>; | ||
export type PreferReadonlyParameterTypesRuleConfig = | ||
RuleConfig<PreferReadonlyParameterTypesOptions>; | ||
@@ -26,0 +29,0 @@ /** |
@@ -25,3 +25,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PromiseFunctionAsyncRuleConfig = RuleConfig<PromiseFunctionAsyncOptions>; | ||
export type PromiseFunctionAsyncRuleConfig = | ||
RuleConfig<PromiseFunctionAsyncOptions>; | ||
@@ -28,0 +29,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireArraySortCompareRuleConfig = RuleConfig<RequireArraySortCompareOptions>; | ||
export type RequireArraySortCompareRuleConfig = | ||
RuleConfig<RequireArraySortCompareOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RestrictPlusOperandsRuleConfig = RuleConfig<RestrictPlusOperandsOptions>; | ||
export type RestrictPlusOperandsRuleConfig = | ||
RuleConfig<RestrictPlusOperandsOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -18,3 +18,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RestrictTemplateExpressionsOptions = [RestrictTemplateExpressionsOption?]; | ||
export type RestrictTemplateExpressionsOptions = [ | ||
RestrictTemplateExpressionsOption?, | ||
]; | ||
@@ -26,3 +28,4 @@ /** | ||
*/ | ||
export type RestrictTemplateExpressionsRuleConfig = RuleConfig<RestrictTemplateExpressionsOptions>; | ||
export type RestrictTemplateExpressionsRuleConfig = | ||
RuleConfig<RestrictTemplateExpressionsOptions>; | ||
@@ -29,0 +32,0 @@ /** |
@@ -13,3 +13,3 @@ import type { RuleConfig } from '../rule-config'; | ||
beforeStatementContinuationChars?: 'always' | 'any' | 'never'; | ||
} | ||
}, | ||
] | ||
@@ -22,3 +22,3 @@ | [] | ||
omitLastInOneLineBlock?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -25,0 +25,0 @@ |
@@ -29,3 +29,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type SortTypeUnionIntersectionMembersOptions = [SortTypeUnionIntersectionMembersOption?]; | ||
export type SortTypeUnionIntersectionMembersOptions = [ | ||
SortTypeUnionIntersectionMembersOption?, | ||
]; | ||
@@ -37,3 +39,4 @@ /** | ||
*/ | ||
export type SortTypeUnionIntersectionMembersRuleConfig = RuleConfig<SortTypeUnionIntersectionMembersOptions>; | ||
export type SortTypeUnionIntersectionMembersRuleConfig = | ||
RuleConfig<SortTypeUnionIntersectionMembersOptions>; | ||
@@ -40,0 +43,0 @@ /** |
@@ -24,3 +24,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type SpaceBeforeFunctionParenRuleConfig = RuleConfig<SpaceBeforeFunctionParenOptions>; | ||
export type SpaceBeforeFunctionParenRuleConfig = | ||
RuleConfig<SpaceBeforeFunctionParenOptions>; | ||
@@ -27,0 +28,0 @@ /** |
@@ -27,3 +27,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type StrictBooleanExpressionsRuleConfig = RuleConfig<StrictBooleanExpressionsOptions>; | ||
export type StrictBooleanExpressionsRuleConfig = | ||
RuleConfig<StrictBooleanExpressionsOptions>; | ||
@@ -30,0 +31,0 @@ /** |
@@ -22,3 +22,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type TripleSlashReferenceRuleConfig = RuleConfig<TripleSlashReferenceOptions>; | ||
export type TripleSlashReferenceRuleConfig = | ||
RuleConfig<TripleSlashReferenceOptions>; | ||
@@ -25,0 +26,0 @@ /** |
@@ -47,3 +47,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type TypeAnnotationSpacingRuleConfig = RuleConfig<TypeAnnotationSpacingOptions>; | ||
export type TypeAnnotationSpacingRuleConfig = | ||
RuleConfig<TypeAnnotationSpacingOptions>; | ||
@@ -50,0 +51,0 @@ /** |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/better-regex.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type BetterRegexRuleConfig = RuleConfig<BetterRegexOptions>; | ||
* | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/better-regex.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface BetterRegexRule { | ||
* | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/better-regex.md) | ||
* @see [better-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/better-regex.md) | ||
*/ | ||
'unicorn/better-regex': BetterRegexRuleConfig; | ||
} |
@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/catch-error-name.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type CatchErrorNameRuleConfig = RuleConfig<CatchErrorNameOptions>; | ||
* | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/catch-error-name.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface CatchErrorNameRule { | ||
* | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/catch-error-name.md) | ||
* @see [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/catch-error-name.md) | ||
*/ | ||
'unicorn/catch-error-name': CatchErrorNameRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/consistent-destructuring.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type ConsistentDestructuringRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/consistent-destructuring.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface ConsistentDestructuringRule { | ||
* | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/consistent-destructuring.md) | ||
* @see [consistent-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/consistent-destructuring.md) | ||
*/ | ||
'unicorn/consistent-destructuring': ConsistentDestructuringRuleConfig; | ||
} |
@@ -13,3 +13,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ConsistentFunctionScopingOptions = [ConsistentFunctionScopingOption?]; | ||
export type ConsistentFunctionScopingOptions = [ | ||
ConsistentFunctionScopingOption?, | ||
]; | ||
@@ -19,5 +21,6 @@ /** | ||
* | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/consistent-function-scoping.md) | ||
*/ | ||
export type ConsistentFunctionScopingRuleConfig = RuleConfig<ConsistentFunctionScopingOptions>; | ||
export type ConsistentFunctionScopingRuleConfig = | ||
RuleConfig<ConsistentFunctionScopingOptions>; | ||
@@ -27,3 +30,3 @@ /** | ||
* | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/consistent-function-scoping.md) | ||
*/ | ||
@@ -34,5 +37,5 @@ export interface ConsistentFunctionScopingRule { | ||
* | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/consistent-function-scoping.md) | ||
* @see [consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/consistent-function-scoping.md) | ||
*/ | ||
'unicorn/consistent-function-scoping': ConsistentFunctionScopingRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/custom-error-definition.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type CustomErrorDefinitionRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/custom-error-definition.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface CustomErrorDefinitionRule { | ||
* | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/custom-error-definition.md) | ||
* @see [custom-error-definition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/custom-error-definition.md) | ||
*/ | ||
'unicorn/custom-error-definition': CustomErrorDefinitionRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/empty-brace-spaces.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type EmptyBraceSpacesRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/empty-brace-spaces.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface EmptyBraceSpacesRule { | ||
* | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/empty-brace-spaces.md) | ||
* @see [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/empty-brace-spaces.md) | ||
*/ | ||
'unicorn/empty-brace-spaces': EmptyBraceSpacesRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/error-message.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type ErrorMessageRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/error-message.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface ErrorMessageRule { | ||
* | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/error-message.md) | ||
* @see [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/error-message.md) | ||
*/ | ||
'unicorn/error-message': ErrorMessageRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/escape-case.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type EscapeCaseRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/escape-case.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface EscapeCaseRule { | ||
* | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/escape-case.md) | ||
* @see [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/escape-case.md) | ||
*/ | ||
'unicorn/escape-case': EscapeCaseRuleConfig; | ||
} |
@@ -11,2 +11,3 @@ import type { RuleConfig } from '../rule-config'; | ||
allowWarningComments?: boolean; | ||
date?: string; | ||
} | ||
@@ -22,5 +23,6 @@ | ||
* | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/expiring-todo-comments.md) | ||
*/ | ||
export type ExpiringTodoCommentsRuleConfig = RuleConfig<ExpiringTodoCommentsOptions>; | ||
export type ExpiringTodoCommentsRuleConfig = | ||
RuleConfig<ExpiringTodoCommentsOptions>; | ||
@@ -30,3 +32,3 @@ /** | ||
* | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/expiring-todo-comments.md) | ||
*/ | ||
@@ -37,5 +39,5 @@ export interface ExpiringTodoCommentsRule { | ||
* | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/expiring-todo-comments.md) | ||
* @see [expiring-todo-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/expiring-todo-comments.md) | ||
*/ | ||
'unicorn/expiring-todo-comments': ExpiringTodoCommentsRuleConfig; | ||
} |
@@ -18,5 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/explicit-length-check.md) | ||
*/ | ||
export type ExplicitLengthCheckRuleConfig = RuleConfig<ExplicitLengthCheckOptions>; | ||
export type ExplicitLengthCheckRuleConfig = | ||
RuleConfig<ExplicitLengthCheckOptions>; | ||
@@ -26,3 +27,3 @@ /** | ||
* | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/explicit-length-check.md) | ||
*/ | ||
@@ -33,5 +34,5 @@ export interface ExplicitLengthCheckRule { | ||
* | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/explicit-length-check.md) | ||
* @see [explicit-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/explicit-length-check.md) | ||
*/ | ||
'unicorn/explicit-length-check': ExplicitLengthCheckRuleConfig; | ||
} |
@@ -29,3 +29,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/filename-case.md) | ||
*/ | ||
@@ -37,3 +37,3 @@ export type FilenameCaseRuleConfig = RuleConfig<FilenameCaseOptions>; | ||
* | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/filename-case.md) | ||
*/ | ||
@@ -44,5 +44,5 @@ export interface FilenameCaseRule { | ||
* | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/filename-case.md) | ||
* @see [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/filename-case.md) | ||
*/ | ||
'unicorn/filename-case': FilenameCaseRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/import-index.md) | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/import-index.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type ImportIndexRuleConfig = RuleConfig<ImportIndexOptions>; | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/import-index.md) | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/import-index.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface ImportIndexRule { | ||
* | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/import-index.md) | ||
* @see [import-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/import-index.md) | ||
*/ | ||
'unicorn/import-index': ImportIndexRuleConfig; | ||
} |
@@ -16,3 +16,3 @@ import type { RuleConfig } from '../rule-config'; | ||
styles?: ModuleStyles; | ||
} | ||
}, | ||
]; | ||
@@ -36,3 +36,3 @@ export type Styles = false | BooleanObject; | ||
* | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/import-style.md) | ||
*/ | ||
@@ -44,3 +44,3 @@ export type ImportStyleRuleConfig = RuleConfig<ImportStyleOptions>; | ||
* | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/import-style.md) | ||
*/ | ||
@@ -51,5 +51,5 @@ export interface ImportStyleRule { | ||
* | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/import-style.md) | ||
* @see [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/import-style.md) | ||
*/ | ||
'unicorn/import-style': ImportStyleRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/new-for-builtins.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NewForBuiltinsRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/new-for-builtins.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NewForBuiltinsRule { | ||
* | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/new-for-builtins.md) | ||
* @see [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/new-for-builtins.md) | ||
*/ | ||
'unicorn/new-for-builtins': NewForBuiltinsRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-abusive-eslint-disable.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoAbusiveEslintDisableRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-abusive-eslint-disable.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoAbusiveEslintDisableRule { | ||
* | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-abusive-eslint-disable.md) | ||
* @see [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-abusive-eslint-disable.md) | ||
*/ | ||
'unicorn/no-abusive-eslint-disable': NoAbusiveEslintDisableRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-callback-reference.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoArrayCallbackReferenceRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-callback-reference.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoArrayCallbackReferenceRule { | ||
* | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-callback-reference.md) | ||
* @see [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-callback-reference.md) | ||
*/ | ||
'unicorn/no-array-callback-reference': NoArrayCallbackReferenceRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-for-each.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoArrayForEachRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-for-each.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoArrayForEachRule { | ||
* | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-for-each.md) | ||
* @see [no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-for-each.md) | ||
*/ | ||
'unicorn/no-array-for-each': NoArrayForEachRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-array-instanceof) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type NoArrayInstanceofRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-array-instanceof) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface NoArrayInstanceofRule { | ||
* | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-array-instanceof) | ||
* @see [no-array-instanceof](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-array-instanceof) | ||
*/ | ||
'unicorn/no-array-instanceof': NoArrayInstanceofRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-method-this-argument.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoArrayMethodThisArgumentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-method-this-argument.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoArrayMethodThisArgumentRule { | ||
* | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-method-this-argument.md) | ||
* @see [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-method-this-argument.md) | ||
*/ | ||
'unicorn/no-array-method-this-argument': NoArrayMethodThisArgumentRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-push-push.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type NoArrayPushPushRuleConfig = RuleConfig<NoArrayPushPushOptions>; | ||
* | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-push-push.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface NoArrayPushPushRule { | ||
* | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-push-push.md) | ||
* @see [no-array-push-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-push-push.md) | ||
*/ | ||
'unicorn/no-array-push-push': NoArrayPushPushRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-reduce.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type NoArrayReduceRuleConfig = RuleConfig<NoArrayReduceOptions>; | ||
* | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-reduce.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface NoArrayReduceRule { | ||
* | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-array-reduce.md) | ||
* @see [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-array-reduce.md) | ||
*/ | ||
'unicorn/no-array-reduce': NoArrayReduceRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-await-expression-member.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoAwaitExpressionMemberRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-await-expression-member.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoAwaitExpressionMemberRule { | ||
* | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-await-expression-member.md) | ||
* @see [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-await-expression-member.md) | ||
*/ | ||
'unicorn/no-await-expression-member': NoAwaitExpressionMemberRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-console-spaces.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoConsoleSpacesRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-console-spaces.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoConsoleSpacesRule { | ||
* | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-console-spaces.md) | ||
* @see [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-console-spaces.md) | ||
*/ | ||
'unicorn/no-console-spaces': NoConsoleSpacesRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-document-cookie.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoDocumentCookieRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-document-cookie.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoDocumentCookieRule { | ||
* | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-document-cookie.md) | ||
* @see [no-document-cookie](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-document-cookie.md) | ||
*/ | ||
'unicorn/no-document-cookie': NoDocumentCookieRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-empty-file.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoEmptyFileRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-empty-file.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoEmptyFileRule { | ||
* | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-empty-file.md) | ||
* @see [no-empty-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-empty-file.md) | ||
*/ | ||
'unicorn/no-empty-file': NoEmptyFileRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type NoFnReferenceInIteratorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface NoFnReferenceInIteratorRule { | ||
* | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
* @see [no-fn-reference-in-iterator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-fn-reference-in-iterator) | ||
*/ | ||
'unicorn/no-fn-reference-in-iterator': NoFnReferenceInIteratorRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-for-loop.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoForLoopRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-for-loop.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoForLoopRule { | ||
* | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-for-loop.md) | ||
* @see [no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-for-loop.md) | ||
*/ | ||
'unicorn/no-for-loop': NoForLoopRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-hex-escape.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoHexEscapeRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-hex-escape.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoHexEscapeRule { | ||
* | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-hex-escape.md) | ||
* @see [no-hex-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-hex-escape.md) | ||
*/ | ||
'unicorn/no-hex-escape': NoHexEscapeRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-instanceof-array.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoInstanceofArrayRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-instanceof-array.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoInstanceofArrayRule { | ||
* | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-instanceof-array.md) | ||
* @see [no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-instanceof-array.md) | ||
*/ | ||
'unicorn/no-instanceof-array': NoInstanceofArrayRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-invalid-remove-event-listener.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoInvalidRemoveEventListenerRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-invalid-remove-event-listener.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoInvalidRemoveEventListenerRule { | ||
* | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-invalid-remove-event-listener.md) | ||
* @see [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-invalid-remove-event-listener.md) | ||
*/ | ||
'unicorn/no-invalid-remove-event-listener': NoInvalidRemoveEventListenerRuleConfig; | ||
} |
@@ -20,3 +20,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-keyword-prefix.md) | ||
*/ | ||
@@ -28,3 +28,3 @@ export type NoKeywordPrefixRuleConfig = RuleConfig<NoKeywordPrefixOptions>; | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-keyword-prefix.md) | ||
*/ | ||
@@ -35,5 +35,5 @@ export interface NoKeywordPrefixRule { | ||
* | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-keyword-prefix.md) | ||
* @see [no-keyword-prefix](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-keyword-prefix.md) | ||
*/ | ||
'unicorn/no-keyword-prefix': NoKeywordPrefixRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-lonely-if.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoLonelyIfRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-lonely-if.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoLonelyIfRule { | ||
* | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-lonely-if.md) | ||
* @see [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-lonely-if.md) | ||
*/ | ||
'unicorn/no-lonely-if': NoLonelyIfRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-nested-ternary.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoNestedTernaryRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-nested-ternary.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoNestedTernaryRule { | ||
* | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-nested-ternary.md) | ||
* @see [no-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-nested-ternary.md) | ||
*/ | ||
'unicorn/no-nested-ternary': NoNestedTernaryRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-new-array.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoNewArrayRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-new-array.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoNewArrayRule { | ||
* | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-new-array.md) | ||
* @see [no-new-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-new-array.md) | ||
*/ | ||
'unicorn/no-new-array': NoNewArrayRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-new-buffer.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoNewBufferRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-new-buffer.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoNewBufferRule { | ||
* | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-new-buffer.md) | ||
* @see [no-new-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-new-buffer.md) | ||
*/ | ||
'unicorn/no-new-buffer': NoNewBufferRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-null.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type NoNullRuleConfig = RuleConfig<NoNullOptions>; | ||
* | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-null.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface NoNullRule { | ||
* | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-null.md) | ||
* @see [no-null](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-null.md) | ||
*/ | ||
'unicorn/no-null': NoNullRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-object-as-default-parameter.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoObjectAsDefaultParameterRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-object-as-default-parameter.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoObjectAsDefaultParameterRule { | ||
* | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-object-as-default-parameter.md) | ||
* @see [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-object-as-default-parameter.md) | ||
*/ | ||
'unicorn/no-object-as-default-parameter': NoObjectAsDefaultParameterRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-process-exit.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoProcessExitRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-process-exit.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoProcessExitRule { | ||
* | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-process-exit.md) | ||
* @see [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-process-exit.md) | ||
*/ | ||
'unicorn/no-process-exit': NoProcessExitRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-reduce) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type NoReduceRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-reduce) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface NoReduceRule { | ||
* | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#no-reduce) | ||
* @see [no-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#no-reduce) | ||
*/ | ||
'unicorn/no-reduce': NoReduceRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-static-only-class.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoStaticOnlyClassRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-static-only-class.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoStaticOnlyClassRule { | ||
* | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-static-only-class.md) | ||
* @see [no-static-only-class](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-static-only-class.md) | ||
*/ | ||
'unicorn/no-static-only-class': NoStaticOnlyClassRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-thenable.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoThenableRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-thenable.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoThenableRule { | ||
* | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-thenable.md) | ||
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-thenable.md) | ||
*/ | ||
'unicorn/no-thenable': NoThenableRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-this-assignment.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoThisAssignmentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-this-assignment.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoThisAssignmentRule { | ||
* | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-this-assignment.md) | ||
* @see [no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-this-assignment.md) | ||
*/ | ||
'unicorn/no-this-assignment': NoThisAssignmentRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unreadable-array-destructuring.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUnreadableArrayDestructuringRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unreadable-array-destructuring.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUnreadableArrayDestructuringRule { | ||
* | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unreadable-array-destructuring.md) | ||
* @see [no-unreadable-array-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unreadable-array-destructuring.md) | ||
*/ | ||
'unicorn/no-unreadable-array-destructuring': NoUnreadableArrayDestructuringRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unsafe-regex.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUnsafeRegexRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unsafe-regex.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUnsafeRegexRule { | ||
* | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unsafe-regex.md) | ||
* @see [no-unsafe-regex](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unsafe-regex.md) | ||
*/ | ||
'unicorn/no-unsafe-regex': NoUnsafeRegexRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unused-properties.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUnusedPropertiesRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unused-properties.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUnusedPropertiesRule { | ||
* | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-unused-properties.md) | ||
* @see [no-unused-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-unused-properties.md) | ||
*/ | ||
'unicorn/no-unused-properties': NoUnusedPropertiesRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-fallback-in-spread.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessFallbackInSpreadRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-fallback-in-spread.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessFallbackInSpreadRule { | ||
* | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-fallback-in-spread.md) | ||
* @see [no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-fallback-in-spread.md) | ||
*/ | ||
'unicorn/no-useless-fallback-in-spread': NoUselessFallbackInSpreadRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-length-check.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessLengthCheckRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-length-check.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessLengthCheckRule { | ||
* | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-length-check.md) | ||
* @see [no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-length-check.md) | ||
*/ | ||
'unicorn/no-useless-length-check': NoUselessLengthCheckRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessPromiseResolveRejectRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessPromiseResolveRejectRule { | ||
* | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
* @see [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-promise-resolve-reject.md) | ||
*/ | ||
'unicorn/no-useless-promise-resolve-reject': NoUselessPromiseResolveRejectRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-spread.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoUselessSpreadRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-spread.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoUselessSpreadRule { | ||
* | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-spread.md) | ||
* @see [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-spread.md) | ||
*/ | ||
'unicorn/no-useless-spread': NoUselessSpreadRuleConfig; | ||
} |
@@ -18,5 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-undefined.md) | ||
*/ | ||
export type NoUselessUndefinedRuleConfig = RuleConfig<NoUselessUndefinedOptions>; | ||
export type NoUselessUndefinedRuleConfig = | ||
RuleConfig<NoUselessUndefinedOptions>; | ||
@@ -26,3 +27,3 @@ /** | ||
* | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-undefined.md) | ||
*/ | ||
@@ -33,5 +34,5 @@ export interface NoUselessUndefinedRule { | ||
* | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-useless-undefined.md) | ||
* @see [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-useless-undefined.md) | ||
*/ | ||
'unicorn/no-useless-undefined': NoUselessUndefinedRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-zero-fractions.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NoZeroFractionsRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-zero-fractions.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NoZeroFractionsRule { | ||
* | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/no-zero-fractions.md) | ||
* @see [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/no-zero-fractions.md) | ||
*/ | ||
'unicorn/no-zero-fractions': NoZeroFractionsRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/number-literal-case.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type NumberLiteralCaseRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/number-literal-case.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface NumberLiteralCaseRule { | ||
* | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/number-literal-case.md) | ||
* @see [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/number-literal-case.md) | ||
*/ | ||
'unicorn/number-literal-case': NumberLiteralCaseRuleConfig; | ||
} |
@@ -38,5 +38,6 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/numeric-separators-style.md) | ||
*/ | ||
export type NumericSeparatorsStyleRuleConfig = RuleConfig<NumericSeparatorsStyleOptions>; | ||
export type NumericSeparatorsStyleRuleConfig = | ||
RuleConfig<NumericSeparatorsStyleOptions>; | ||
@@ -46,3 +47,3 @@ /** | ||
* | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/numeric-separators-style.md) | ||
*/ | ||
@@ -53,5 +54,5 @@ export interface NumericSeparatorsStyleRule { | ||
* | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/numeric-separators-style.md) | ||
* @see [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/numeric-separators-style.md) | ||
*/ | ||
'unicorn/numeric-separators-style': NumericSeparatorsStyleRuleConfig; | ||
} |
@@ -18,5 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-add-event-listener.md) | ||
*/ | ||
export type PreferAddEventListenerRuleConfig = RuleConfig<PreferAddEventListenerOptions>; | ||
export type PreferAddEventListenerRuleConfig = | ||
RuleConfig<PreferAddEventListenerOptions>; | ||
@@ -26,3 +27,3 @@ /** | ||
* | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-add-event-listener.md) | ||
*/ | ||
@@ -33,5 +34,5 @@ export interface PreferAddEventListenerRule { | ||
* | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-add-event-listener.md) | ||
* @see [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-add-event-listener.md) | ||
*/ | ||
'unicorn/prefer-add-event-listener': PreferAddEventListenerRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-find.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferArrayFindRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-find.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferArrayFindRule { | ||
* | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-find.md) | ||
* @see [prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-find.md) | ||
*/ | ||
'unicorn/prefer-array-find': PreferArrayFindRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-flat-map.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferArrayFlatMapRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-flat-map.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferArrayFlatMapRule { | ||
* | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-flat-map.md) | ||
* @see [prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-flat-map.md) | ||
*/ | ||
'unicorn/prefer-array-flat-map': PreferArrayFlatMapRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-flat.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type PreferArrayFlatRuleConfig = RuleConfig<PreferArrayFlatOptions>; | ||
* | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-flat.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface PreferArrayFlatRule { | ||
* | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-flat.md) | ||
* @see [prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-flat.md) | ||
*/ | ||
'unicorn/prefer-array-flat': PreferArrayFlatRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-index-of.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferArrayIndexOfRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-index-of.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferArrayIndexOfRule { | ||
* | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-index-of.md) | ||
* @see [prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-index-of.md) | ||
*/ | ||
'unicorn/prefer-array-index-of': PreferArrayIndexOfRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-some.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferArraySomeRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-some.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferArraySomeRule { | ||
* | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-array-some.md) | ||
* @see [prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-array-some.md) | ||
*/ | ||
'unicorn/prefer-array-some': PreferArraySomeRuleConfig; | ||
} |
@@ -19,3 +19,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-at.md) | ||
*/ | ||
@@ -27,3 +27,3 @@ export type PreferAtRuleConfig = RuleConfig<PreferAtOptions>; | ||
* | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-at.md) | ||
*/ | ||
@@ -34,5 +34,5 @@ export interface PreferAtRule { | ||
* | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-at.md) | ||
* @see [prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-at.md) | ||
*/ | ||
'unicorn/prefer-at': PreferAtRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-code-point.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferCodePointRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-code-point.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferCodePointRule { | ||
* | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-code-point.md) | ||
* @see [prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-code-point.md) | ||
*/ | ||
'unicorn/prefer-code-point': PreferCodePointRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-dataset) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferDatasetRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-dataset) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferDatasetRule { | ||
* | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-dataset) | ||
* @see [prefer-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-dataset) | ||
*/ | ||
'unicorn/prefer-dataset': PreferDatasetRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-date-now.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDateNowRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-date-now.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDateNowRule { | ||
* | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-date-now.md) | ||
* @see [prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-date-now.md) | ||
*/ | ||
'unicorn/prefer-date-now': PreferDateNowRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-default-parameters.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDefaultParametersRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-default-parameters.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDefaultParametersRule { | ||
* | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-default-parameters.md) | ||
* @see [prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-default-parameters.md) | ||
*/ | ||
'unicorn/prefer-default-parameters': PreferDefaultParametersRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-append.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDomNodeAppendRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-append.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDomNodeAppendRule { | ||
* | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-append.md) | ||
* @see [prefer-dom-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-append.md) | ||
*/ | ||
'unicorn/prefer-dom-node-append': PreferDomNodeAppendRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-dataset.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDomNodeDatasetRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-dataset.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDomNodeDatasetRule { | ||
* | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-dataset.md) | ||
* @see [prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-dataset.md) | ||
*/ | ||
'unicorn/prefer-dom-node-dataset': PreferDomNodeDatasetRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-remove.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDomNodeRemoveRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-remove.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDomNodeRemoveRule { | ||
* | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-remove.md) | ||
* @see [prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-remove.md) | ||
*/ | ||
'unicorn/prefer-dom-node-remove': PreferDomNodeRemoveRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-text-content.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferDomNodeTextContentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-text-content.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferDomNodeTextContentRule { | ||
* | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-dom-node-text-content.md) | ||
* @see [prefer-dom-node-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-dom-node-text-content.md) | ||
*/ | ||
'unicorn/prefer-dom-node-text-content': PreferDomNodeTextContentRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferEventKeyRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferEventKeyRule { | ||
* | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-event-key) | ||
* @see [prefer-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-event-key) | ||
*/ | ||
'unicorn/prefer-event-key': PreferEventKeyRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferExponentiationOperatorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferExponentiationOperatorRule { | ||
* | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
* @see [prefer-exponentiation-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-exponentiation-operator) | ||
*/ | ||
'unicorn/prefer-exponentiation-operator': PreferExponentiationOperatorRuleConfig; | ||
} |
@@ -18,3 +18,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-export-from.md) | ||
*/ | ||
@@ -26,3 +26,3 @@ export type PreferExportFromRuleConfig = RuleConfig<PreferExportFromOptions>; | ||
* | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-export-from.md) | ||
*/ | ||
@@ -33,5 +33,5 @@ export interface PreferExportFromRule { | ||
* | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-export-from.md) | ||
* @see [prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-export-from.md) | ||
*/ | ||
'unicorn/prefer-export-from': PreferExportFromRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-flat-map) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferFlatMapRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-flat-map) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferFlatMapRule { | ||
* | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-flat-map) | ||
* @see [prefer-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-flat-map) | ||
*/ | ||
'unicorn/prefer-flat-map': PreferFlatMapRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-includes.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferIncludesRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-includes.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferIncludesRule { | ||
* | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-includes.md) | ||
* @see [prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-includes.md) | ||
*/ | ||
'unicorn/prefer-includes': PreferIncludesRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-json-parse-buffer.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferJsonParseBufferRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-json-parse-buffer.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferJsonParseBufferRule { | ||
* | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-json-parse-buffer.md) | ||
* @see [prefer-json-parse-buffer](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-json-parse-buffer.md) | ||
*/ | ||
'unicorn/prefer-json-parse-buffer': PreferJsonParseBufferRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-keyboard-event-key.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferKeyboardEventKeyRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-keyboard-event-key.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferKeyboardEventKeyRule { | ||
* | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-keyboard-event-key.md) | ||
* @see [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-keyboard-event-key.md) | ||
*/ | ||
'unicorn/prefer-keyboard-event-key': PreferKeyboardEventKeyRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-math-trunc.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferMathTruncRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-math-trunc.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferMathTruncRule { | ||
* | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-math-trunc.md) | ||
* @see [prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-math-trunc.md) | ||
*/ | ||
'unicorn/prefer-math-trunc': PreferMathTruncRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-modern-dom-apis.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferModernDomApisRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-modern-dom-apis.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferModernDomApisRule { | ||
* | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-modern-dom-apis.md) | ||
* @see [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-modern-dom-apis.md) | ||
*/ | ||
'unicorn/prefer-modern-dom-apis': PreferModernDomApisRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-module.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferModuleRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-module.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferModuleRule { | ||
* | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-module.md) | ||
* @see [prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-module.md) | ||
*/ | ||
'unicorn/prefer-module': PreferModuleRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-negative-index.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferNegativeIndexRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-negative-index.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferNegativeIndexRule { | ||
* | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-negative-index.md) | ||
* @see [prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-negative-index.md) | ||
*/ | ||
'unicorn/prefer-negative-index': PreferNegativeIndexRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferNodeAppendRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferNodeAppendRule { | ||
* | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-node-append) | ||
* @see [prefer-node-append](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-node-append) | ||
*/ | ||
'unicorn/prefer-node-append': PreferNodeAppendRuleConfig; | ||
} |
@@ -18,5 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-node-protocol.md) | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-node-protocol.md) | ||
*/ | ||
export type PreferNodeProtocolRuleConfig = RuleConfig<PreferNodeProtocolOptions>; | ||
export type PreferNodeProtocolRuleConfig = | ||
RuleConfig<PreferNodeProtocolOptions>; | ||
@@ -26,3 +27,3 @@ /** | ||
* | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-node-protocol.md) | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-node-protocol.md) | ||
*/ | ||
@@ -33,5 +34,5 @@ export interface PreferNodeProtocolRule { | ||
* | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-node-protocol.md) | ||
* @see [prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-node-protocol.md) | ||
*/ | ||
'unicorn/prefer-node-protocol': PreferNodeProtocolRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-node-remove) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferNodeRemoveRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-node-remove) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferNodeRemoveRule { | ||
* | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-node-remove) | ||
* @see [prefer-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-node-remove) | ||
*/ | ||
'unicorn/prefer-node-remove': PreferNodeRemoveRuleConfig; | ||
} |
@@ -18,5 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-number-properties.md) | ||
*/ | ||
export type PreferNumberPropertiesRuleConfig = RuleConfig<PreferNumberPropertiesOptions>; | ||
export type PreferNumberPropertiesRuleConfig = | ||
RuleConfig<PreferNumberPropertiesOptions>; | ||
@@ -26,3 +27,3 @@ /** | ||
* | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-number-properties.md) | ||
*/ | ||
@@ -33,5 +34,5 @@ export interface PreferNumberPropertiesRule { | ||
* | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-number-properties.md) | ||
* @see [prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-number-properties.md) | ||
*/ | ||
'unicorn/prefer-number-properties': PreferNumberPropertiesRuleConfig; | ||
} |
@@ -18,5 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-object-from-entries.md) | ||
*/ | ||
export type PreferObjectFromEntriesRuleConfig = RuleConfig<PreferObjectFromEntriesOptions>; | ||
export type PreferObjectFromEntriesRuleConfig = | ||
RuleConfig<PreferObjectFromEntriesOptions>; | ||
@@ -26,3 +27,3 @@ /** | ||
* | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-object-from-entries.md) | ||
*/ | ||
@@ -33,5 +34,5 @@ export interface PreferObjectFromEntriesRule { | ||
* | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-object-from-entries.md) | ||
* @see [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-object-from-entries.md) | ||
*/ | ||
'unicorn/prefer-object-from-entries': PreferObjectFromEntriesRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferObjectHasOwnRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferObjectHasOwnRule { | ||
* | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
* @see [prefer-object-has-own](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-object-has-own) | ||
*/ | ||
'unicorn/prefer-object-has-own': PreferObjectHasOwnRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-optional-catch-binding.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferOptionalCatchBindingRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-optional-catch-binding.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferOptionalCatchBindingRule { | ||
* | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-optional-catch-binding.md) | ||
* @see [prefer-optional-catch-binding](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-optional-catch-binding.md) | ||
*/ | ||
'unicorn/prefer-optional-catch-binding': PreferOptionalCatchBindingRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-prototype-methods.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferPrototypeMethodsRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-prototype-methods.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferPrototypeMethodsRule { | ||
* | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-prototype-methods.md) | ||
* @see [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-prototype-methods.md) | ||
*/ | ||
'unicorn/prefer-prototype-methods': PreferPrototypeMethodsRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-query-selector.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferQuerySelectorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-query-selector.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferQuerySelectorRule { | ||
* | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-query-selector.md) | ||
* @see [prefer-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-query-selector.md) | ||
*/ | ||
'unicorn/prefer-query-selector': PreferQuerySelectorRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-reflect-apply.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferReflectApplyRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-reflect-apply.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferReflectApplyRule { | ||
* | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-reflect-apply.md) | ||
* @see [prefer-reflect-apply](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-reflect-apply.md) | ||
*/ | ||
'unicorn/prefer-reflect-apply': PreferReflectApplyRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-regexp-test.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferRegexpTestRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-regexp-test.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferRegexpTestRule { | ||
* | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-regexp-test.md) | ||
* @see [prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-regexp-test.md) | ||
*/ | ||
'unicorn/prefer-regexp-test': PreferRegexpTestRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-replace-all) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferReplaceAllRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-replace-all) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferReplaceAllRule { | ||
* | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-replace-all) | ||
* @see [prefer-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-replace-all) | ||
*/ | ||
'unicorn/prefer-replace-all': PreferReplaceAllRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-set-has.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferSetHasRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-set-has.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferSetHasRule { | ||
* | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-set-has.md) | ||
* @see [prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-set-has.md) | ||
*/ | ||
'unicorn/prefer-set-has': PreferSetHasRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-spread.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferSpreadRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-spread.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferSpreadRule { | ||
* | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-spread.md) | ||
* @see [prefer-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-spread.md) | ||
*/ | ||
'unicorn/prefer-spread': PreferSpreadRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferStartsEndsWithRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferStartsEndsWithRule { | ||
* | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
* @see [prefer-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-starts-ends-with) | ||
*/ | ||
'unicorn/prefer-starts-ends-with': PreferStartsEndsWithRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-replace-all.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferStringReplaceAllRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-replace-all.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferStringReplaceAllRule { | ||
* | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-replace-all.md) | ||
* @see [prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-replace-all.md) | ||
*/ | ||
'unicorn/prefer-string-replace-all': PreferStringReplaceAllRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-slice.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferStringSliceRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-slice.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferStringSliceRule { | ||
* | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-slice.md) | ||
* @see [prefer-string-slice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-slice.md) | ||
*/ | ||
'unicorn/prefer-string-slice': PreferStringSliceRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-starts-ends-with.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferStringStartsEndsWithRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-starts-ends-with.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferStringStartsEndsWithRule { | ||
* | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-starts-ends-with.md) | ||
* @see [prefer-string-starts-ends-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-starts-ends-with.md) | ||
*/ | ||
'unicorn/prefer-string-starts-ends-with': PreferStringStartsEndsWithRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-trim-start-end.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferStringTrimStartEndRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-trim-start-end.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferStringTrimStartEndRule { | ||
* | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-string-trim-start-end.md) | ||
* @see [prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-string-trim-start-end.md) | ||
*/ | ||
'unicorn/prefer-string-trim-start-end': PreferStringTrimStartEndRuleConfig; | ||
} |
@@ -8,3 +8,6 @@ import type { RuleConfig } from '../rule-config'; | ||
minimumCases?: number; | ||
emptyDefaultCase?: 'no-default-comment' | 'do-nothing-comment' | 'no-default-case'; | ||
emptyDefaultCase?: | ||
| 'no-default-comment' | ||
| 'do-nothing-comment' | ||
| 'no-default-case'; | ||
} | ||
@@ -20,3 +23,3 @@ | ||
* | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-switch.md) | ||
*/ | ||
@@ -28,3 +31,3 @@ export type PreferSwitchRuleConfig = RuleConfig<PreferSwitchOptions>; | ||
* | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-switch.md) | ||
*/ | ||
@@ -35,5 +38,5 @@ export interface PreferSwitchRule { | ||
* | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-switch.md) | ||
* @see [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-switch.md) | ||
*/ | ||
'unicorn/prefer-switch': PreferSwitchRuleConfig; | ||
} |
@@ -16,3 +16,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-ternary.md) | ||
*/ | ||
@@ -24,3 +24,3 @@ export type PreferTernaryRuleConfig = RuleConfig<PreferTernaryOptions>; | ||
* | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-ternary.md) | ||
*/ | ||
@@ -31,5 +31,5 @@ export interface PreferTernaryRule { | ||
* | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-ternary.md) | ||
* @see [prefer-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-ternary.md) | ||
*/ | ||
'unicorn/prefer-ternary': PreferTernaryRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-text-content) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferTextContentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-text-content) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferTextContentRule { | ||
* | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-text-content) | ||
* @see [prefer-text-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-text-content) | ||
*/ | ||
'unicorn/prefer-text-content': PreferTextContentRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-top-level-await.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferTopLevelAwaitRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-top-level-await.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferTopLevelAwaitRule { | ||
* | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-top-level-await.md) | ||
* @see [prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-top-level-await.md) | ||
*/ | ||
'unicorn/prefer-top-level-await': PreferTopLevelAwaitRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type PreferTrimStartEndRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface PreferTrimStartEndRule { | ||
* | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
* @see [prefer-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#prefer-trim-start-end) | ||
*/ | ||
'unicorn/prefer-trim-start-end': PreferTrimStartEndRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-type-error.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type PreferTypeErrorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-type-error.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface PreferTypeErrorRule { | ||
* | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prefer-type-error.md) | ||
* @see [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prefer-type-error.md) | ||
*/ | ||
'unicorn/prefer-type-error': PreferTypeErrorRuleConfig; | ||
} |
@@ -21,3 +21,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignore?: any[]; | ||
} | ||
}, | ||
]; | ||
@@ -41,5 +41,6 @@ export type Replacements = false | BooleanObject; | ||
* | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prevent-abbreviations.md) | ||
*/ | ||
export type PreventAbbreviationsRuleConfig = RuleConfig<PreventAbbreviationsOptions>; | ||
export type PreventAbbreviationsRuleConfig = | ||
RuleConfig<PreventAbbreviationsOptions>; | ||
@@ -49,3 +50,3 @@ /** | ||
* | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prevent-abbreviations.md) | ||
*/ | ||
@@ -56,5 +57,5 @@ export interface PreventAbbreviationsRule { | ||
* | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/prevent-abbreviations.md) | ||
* @see [prevent-abbreviations](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/prevent-abbreviations.md) | ||
*/ | ||
'unicorn/prevent-abbreviations': PreventAbbreviationsRuleConfig; | ||
} |
@@ -8,3 +8,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#regex-shorthand) | ||
*/ | ||
@@ -18,3 +18,3 @@ export type RegexShorthandRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#regex-shorthand) | ||
*/ | ||
@@ -27,5 +27,5 @@ export interface RegexShorthandRule { | ||
* | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/deprecated-rules.md#regex-shorthand) | ||
* @see [regex-shorthand](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/deprecated-rules.md#regex-shorthand) | ||
*/ | ||
'unicorn/regex-shorthand': RegexShorthandRuleConfig; | ||
} |
@@ -16,3 +16,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/relative-url-style.md) | ||
*/ | ||
@@ -24,3 +24,3 @@ export type RelativeUrlStyleRuleConfig = RuleConfig<RelativeUrlStyleOptions>; | ||
* | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/relative-url-style.md) | ||
*/ | ||
@@ -31,5 +31,5 @@ export interface RelativeUrlStyleRule { | ||
* | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/relative-url-style.md) | ||
* @see [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/relative-url-style.md) | ||
*/ | ||
'unicorn/relative-url-style': RelativeUrlStyleRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-array-join-separator.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type RequireArrayJoinSeparatorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-array-join-separator.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface RequireArrayJoinSeparatorRule { | ||
* | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-array-join-separator.md) | ||
* @see [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-array-join-separator.md) | ||
*/ | ||
'unicorn/require-array-join-separator': RequireArrayJoinSeparatorRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type RequireNumberToFixedDigitsArgumentRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface RequireNumberToFixedDigitsArgumentRule { | ||
* | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
* @see [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-number-to-fixed-digits-argument.md) | ||
*/ | ||
'unicorn/require-number-to-fixed-digits-argument': RequireNumberToFixedDigitsArgumentRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-post-message-target-origin.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type RequirePostMessageTargetOriginRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-post-message-target-origin.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface RequirePostMessageTargetOriginRule { | ||
* | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/require-post-message-target-origin.md) | ||
* @see [require-post-message-target-origin](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/require-post-message-target-origin.md) | ||
*/ | ||
'unicorn/require-post-message-target-origin': RequirePostMessageTargetOriginRuleConfig; | ||
} |
@@ -26,3 +26,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/string-content.md) | ||
*/ | ||
@@ -34,3 +34,3 @@ export type StringContentRuleConfig = RuleConfig<StringContentOptions>; | ||
* | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/string-content.md) | ||
*/ | ||
@@ -41,5 +41,5 @@ export interface StringContentRule { | ||
* | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/string-content.md) | ||
* @see [string-content](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/string-content.md) | ||
*/ | ||
'unicorn/string-content': StringContentRuleConfig; | ||
} |
@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/template-indent.md) | ||
*/ | ||
@@ -30,3 +30,3 @@ export type TemplateIndentRuleConfig = RuleConfig<TemplateIndentOptions>; | ||
* | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/template-indent.md) | ||
*/ | ||
@@ -37,5 +37,5 @@ export interface TemplateIndentRule { | ||
* | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/template-indent.md) | ||
* @see [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/template-indent.md) | ||
*/ | ||
'unicorn/template-indent': TemplateIndentRuleConfig; | ||
} |
@@ -6,3 +6,3 @@ import type { RuleConfig } from '../rule-config'; | ||
* | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/throw-new-error.md) | ||
*/ | ||
@@ -14,3 +14,3 @@ export type ThrowNewErrorRuleConfig = RuleConfig<[]>; | ||
* | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/throw-new-error.md) | ||
*/ | ||
@@ -21,5 +21,5 @@ export interface ThrowNewErrorRule { | ||
* | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.0.0/docs/rules/throw-new-error.md) | ||
* @see [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v40.1.0/docs/rules/throw-new-error.md) | ||
*/ | ||
'unicorn/throw-new-error': ThrowNewErrorRuleConfig; | ||
} |
@@ -13,3 +13,7 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type KeyFormatStyleOption = 'camelCase' | 'kebab-case' | 'snake_case' | 'SCREAMING_SNAKE_CASE'; | ||
export type KeyFormatStyleOption = | ||
| 'camelCase' | ||
| 'kebab-case' | ||
| 'snake_case' | ||
| 'SCREAMING_SNAKE_CASE'; | ||
@@ -19,3 +23,6 @@ /** | ||
*/ | ||
export type KeyFormatStyleOptions = [KeyFormatStyleOption?, KeyFormatStyleConfig?]; | ||
export type KeyFormatStyleOptions = [ | ||
KeyFormatStyleOption?, | ||
KeyFormatStyleConfig?, | ||
]; | ||
@@ -22,0 +29,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoDuplicateKeysInLocaleRuleConfig = RuleConfig<NoDuplicateKeysInLocaleOptions>; | ||
export type NoDuplicateKeysInLocaleRuleConfig = | ||
RuleConfig<NoDuplicateKeysInLocaleOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -13,3 +13,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoMissingKeysInOtherLocalesOptions = [NoMissingKeysInOtherLocalesOption?]; | ||
export type NoMissingKeysInOtherLocalesOptions = [ | ||
NoMissingKeysInOtherLocalesOption?, | ||
]; | ||
@@ -21,3 +23,4 @@ /** | ||
*/ | ||
export type NoMissingKeysInOtherLocalesRuleConfig = RuleConfig<NoMissingKeysInOtherLocalesOptions>; | ||
export type NoMissingKeysInOtherLocalesRuleConfig = | ||
RuleConfig<NoMissingKeysInOtherLocalesOptions>; | ||
@@ -24,0 +27,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ValidMessageSyntaxRuleConfig = RuleConfig<ValidMessageSyntaxOptions>; | ||
export type ValidMessageSyntaxRuleConfig = | ||
RuleConfig<ValidMessageSyntaxOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -22,3 +22,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type AttributeHyphenationOptions = [AttributeHyphenationOption?, AttributeHyphenationConfig?]; | ||
export type AttributeHyphenationOptions = [ | ||
AttributeHyphenationOption?, | ||
AttributeHyphenationConfig?, | ||
]; | ||
@@ -30,3 +33,4 @@ /** | ||
*/ | ||
export type AttributeHyphenationRuleConfig = RuleConfig<AttributeHyphenationOptions>; | ||
export type AttributeHyphenationRuleConfig = | ||
RuleConfig<AttributeHyphenationOptions>; | ||
@@ -33,0 +37,0 @@ /** |
@@ -21,3 +21,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ComponentNameInTemplateCasingOption?, | ||
ComponentNameInTemplateCasingConfig? | ||
ComponentNameInTemplateCasingConfig?, | ||
]; | ||
@@ -30,3 +30,4 @@ | ||
*/ | ||
export type ComponentNameInTemplateCasingRuleConfig = RuleConfig<ComponentNameInTemplateCasingOptions>; | ||
export type ComponentNameInTemplateCasingRuleConfig = | ||
RuleConfig<ComponentNameInTemplateCasingOptions>; | ||
@@ -33,0 +34,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoDuplicateAttributesRuleConfig = RuleConfig<NoDuplicateAttributesOptions>; | ||
export type NoDuplicateAttributesRuleConfig = | ||
RuleConfig<NoDuplicateAttributesOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -23,3 +23,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ArrayBracketNewlineRuleConfig = RuleConfig<ArrayBracketNewlineOptions>; | ||
export type ArrayBracketNewlineRuleConfig = | ||
RuleConfig<ArrayBracketNewlineOptions>; | ||
@@ -26,0 +27,0 @@ /** |
@@ -20,3 +20,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ArrayBracketSpacingOptions = [ArrayBracketSpacingOption?, ArrayBracketSpacingConfig?]; | ||
export type ArrayBracketSpacingOptions = [ | ||
ArrayBracketSpacingOption?, | ||
ArrayBracketSpacingConfig?, | ||
]; | ||
@@ -28,3 +31,4 @@ /** | ||
*/ | ||
export type ArrayBracketSpacingRuleConfig = RuleConfig<ArrayBracketSpacingOptions>; | ||
export type ArrayBracketSpacingRuleConfig = | ||
RuleConfig<ArrayBracketSpacingOptions>; | ||
@@ -31,0 +35,0 @@ /** |
@@ -22,3 +22,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type AttributeHyphenationOptions = [AttributeHyphenationOption?, AttributeHyphenationConfig?]; | ||
export type AttributeHyphenationOptions = [ | ||
AttributeHyphenationOption?, | ||
AttributeHyphenationConfig?, | ||
]; | ||
@@ -30,3 +33,4 @@ /** | ||
*/ | ||
export type AttributeHyphenationRuleConfig = RuleConfig<AttributeHyphenationOptions>; | ||
export type AttributeHyphenationRuleConfig = | ||
RuleConfig<AttributeHyphenationOptions>; | ||
@@ -33,0 +37,0 @@ /** |
@@ -16,6 +16,11 @@ import type { RuleConfig } from '../rule-config'; | ||
functions?: ValueWithIgnore; | ||
} | ||
}, | ||
]; | ||
export type Value = 'always-multiline' | 'always' | 'never' | 'only-multiline'; | ||
export type ValueWithIgnore = 'always-multiline' | 'always' | 'ignore' | 'never' | 'only-multiline'; | ||
export type ValueWithIgnore = | ||
| 'always-multiline' | ||
| 'always' | ||
| 'ignore' | ||
| 'never' | ||
| 'only-multiline'; | ||
@@ -22,0 +27,0 @@ /** |
@@ -11,3 +11,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ComponentDefinitionNameCasingOptions = [ComponentDefinitionNameCasingOption?]; | ||
export type ComponentDefinitionNameCasingOptions = [ | ||
ComponentDefinitionNameCasingOption?, | ||
]; | ||
@@ -19,3 +21,4 @@ /** | ||
*/ | ||
export type ComponentDefinitionNameCasingRuleConfig = RuleConfig<ComponentDefinitionNameCasingOptions>; | ||
export type ComponentDefinitionNameCasingRuleConfig = | ||
RuleConfig<ComponentDefinitionNameCasingOptions>; | ||
@@ -22,0 +25,0 @@ /** |
@@ -21,3 +21,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ComponentNameInTemplateCasingOption?, | ||
ComponentNameInTemplateCasingConfig? | ||
ComponentNameInTemplateCasingConfig?, | ||
]; | ||
@@ -30,3 +30,4 @@ | ||
*/ | ||
export type ComponentNameInTemplateCasingRuleConfig = RuleConfig<ComponentNameInTemplateCasingOptions>; | ||
export type ComponentNameInTemplateCasingRuleConfig = | ||
RuleConfig<ComponentNameInTemplateCasingOptions>; | ||
@@ -33,0 +34,0 @@ /** |
@@ -6,3 +6,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ComponentOptionsNameCasingOption = 'camelCase' | 'kebab-case' | 'PascalCase'; | ||
export type ComponentOptionsNameCasingOption = | ||
| 'camelCase' | ||
| 'kebab-case' | ||
| 'PascalCase'; | ||
@@ -12,3 +15,5 @@ /** | ||
*/ | ||
export type ComponentOptionsNameCasingOptions = [ComponentOptionsNameCasingOption?]; | ||
export type ComponentOptionsNameCasingOptions = [ | ||
ComponentOptionsNameCasingOption?, | ||
]; | ||
@@ -20,3 +25,4 @@ /** | ||
*/ | ||
export type ComponentOptionsNameCasingRuleConfig = RuleConfig<ComponentOptionsNameCasingOptions>; | ||
export type ComponentOptionsNameCasingRuleConfig = | ||
RuleConfig<ComponentOptionsNameCasingOptions>; | ||
@@ -23,0 +29,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ComponentTagsOrderRuleConfig = RuleConfig<ComponentTagsOrderOptions>; | ||
export type ComponentTagsOrderRuleConfig = | ||
RuleConfig<ComponentTagsOrderOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -13,3 +13,3 @@ import type { RuleConfig } from '../rule-config'; | ||
ignores?: string[]; | ||
} | ||
}, | ||
] | ||
@@ -20,3 +20,3 @@ | [] | ||
ignores?: string[]; | ||
} | ||
}, | ||
]; | ||
@@ -34,3 +34,4 @@ | ||
*/ | ||
export type CustomEventNameCasingRuleConfig = RuleConfig<CustomEventNameCasingOptions>; | ||
export type CustomEventNameCasingRuleConfig = | ||
RuleConfig<CustomEventNameCasingOptions>; | ||
@@ -37,0 +38,0 @@ /** |
@@ -13,3 +13,3 @@ import type { RuleConfig } from '../rule-config'; | ||
null?: 'always' | 'never' | 'ignore'; | ||
} | ||
}, | ||
] | ||
@@ -16,0 +16,0 @@ | [] |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type FirstAttributeLinebreakRuleConfig = RuleConfig<FirstAttributeLinebreakOptions>; | ||
export type FirstAttributeLinebreakRuleConfig = | ||
RuleConfig<FirstAttributeLinebreakOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -15,3 +15,3 @@ import type { RuleConfig } from '../rule-config'; | ||
allowNewlines?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -18,0 +18,0 @@ |
@@ -14,3 +14,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type HtmlClosingBracketNewlineOptions = [HtmlClosingBracketNewlineOption?]; | ||
export type HtmlClosingBracketNewlineOptions = [ | ||
HtmlClosingBracketNewlineOption?, | ||
]; | ||
@@ -22,3 +24,4 @@ /** | ||
*/ | ||
export type HtmlClosingBracketNewlineRuleConfig = RuleConfig<HtmlClosingBracketNewlineOptions>; | ||
export type HtmlClosingBracketNewlineRuleConfig = | ||
RuleConfig<HtmlClosingBracketNewlineOptions>; | ||
@@ -25,0 +28,0 @@ /** |
@@ -15,3 +15,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type HtmlClosingBracketSpacingOptions = [HtmlClosingBracketSpacingOption?]; | ||
export type HtmlClosingBracketSpacingOptions = [ | ||
HtmlClosingBracketSpacingOption?, | ||
]; | ||
@@ -23,3 +25,4 @@ /** | ||
*/ | ||
export type HtmlClosingBracketSpacingRuleConfig = RuleConfig<HtmlClosingBracketSpacingOptions>; | ||
export type HtmlClosingBracketSpacingRuleConfig = | ||
RuleConfig<HtmlClosingBracketSpacingOptions>; | ||
@@ -26,0 +29,0 @@ /** |
@@ -23,3 +23,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type HtmlCommentContentNewlineOptions = [HtmlCommentContentNewlineOption?, HtmlCommentContentNewlineConfig?]; | ||
export type HtmlCommentContentNewlineOptions = [ | ||
HtmlCommentContentNewlineOption?, | ||
HtmlCommentContentNewlineConfig?, | ||
]; | ||
@@ -31,3 +34,4 @@ /** | ||
*/ | ||
export type HtmlCommentContentNewlineRuleConfig = RuleConfig<HtmlCommentContentNewlineOptions>; | ||
export type HtmlCommentContentNewlineRuleConfig = | ||
RuleConfig<HtmlCommentContentNewlineOptions>; | ||
@@ -34,0 +38,0 @@ /** |
@@ -18,3 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type HtmlCommentContentSpacingOptions = [HtmlCommentContentSpacingOption?, HtmlCommentContentSpacingConfig?]; | ||
export type HtmlCommentContentSpacingOptions = [ | ||
HtmlCommentContentSpacingOption?, | ||
HtmlCommentContentSpacingConfig?, | ||
]; | ||
@@ -26,3 +29,4 @@ /** | ||
*/ | ||
export type HtmlCommentContentSpacingRuleConfig = RuleConfig<HtmlCommentContentSpacingOptions>; | ||
export type HtmlCommentContentSpacingRuleConfig = | ||
RuleConfig<HtmlCommentContentSpacingOptions>; | ||
@@ -29,0 +33,0 @@ /** |
@@ -17,3 +17,3 @@ import type { RuleConfig } from '../rule-config'; | ||
math?: OptionValue; | ||
} | ||
}, | ||
]; | ||
@@ -20,0 +20,0 @@ export type OptionValue = 'always' | 'never' | 'any'; |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MatchComponentFileNameRuleConfig = RuleConfig<MatchComponentFileNameOptions>; | ||
export type MatchComponentFileNameRuleConfig = | ||
RuleConfig<MatchComponentFileNameOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -29,3 +29,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MaxAttributesPerLineRuleConfig = RuleConfig<MaxAttributesPerLineOptions>; | ||
export type MaxAttributesPerLineRuleConfig = | ||
RuleConfig<MaxAttributesPerLineOptions>; | ||
@@ -32,0 +33,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MultiWordComponentNamesRuleConfig = RuleConfig<MultiWordComponentNamesOptions>; | ||
export type MultiWordComponentNamesRuleConfig = | ||
RuleConfig<MultiWordComponentNamesOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -15,3 +15,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MultilineHtmlElementContentNewlineOptions = [MultilineHtmlElementContentNewlineOption?]; | ||
export type MultilineHtmlElementContentNewlineOptions = [ | ||
MultilineHtmlElementContentNewlineOption?, | ||
]; | ||
@@ -23,3 +25,4 @@ /** | ||
*/ | ||
export type MultilineHtmlElementContentNewlineRuleConfig = RuleConfig<MultilineHtmlElementContentNewlineOptions>; | ||
export type MultilineHtmlElementContentNewlineRuleConfig = | ||
RuleConfig<MultilineHtmlElementContentNewlineOptions>; | ||
@@ -26,0 +29,0 @@ /** |
@@ -11,3 +11,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type MustacheInterpolationSpacingOptions = [MustacheInterpolationSpacingOption?]; | ||
export type MustacheInterpolationSpacingOptions = [ | ||
MustacheInterpolationSpacingOption?, | ||
]; | ||
@@ -19,3 +21,4 @@ /** | ||
*/ | ||
export type MustacheInterpolationSpacingRuleConfig = RuleConfig<MustacheInterpolationSpacingOptions>; | ||
export type MustacheInterpolationSpacingRuleConfig = | ||
RuleConfig<MustacheInterpolationSpacingOptions>; | ||
@@ -22,0 +25,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NamePropertyCasingRuleConfig = RuleConfig<NamePropertyCasingOptions>; | ||
export type NamePropertyCasingRuleConfig = | ||
RuleConfig<NamePropertyCasingOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -13,3 +13,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NewLineBetweenMultiLinePropertyOptions = [NewLineBetweenMultiLinePropertyOption?]; | ||
export type NewLineBetweenMultiLinePropertyOptions = [ | ||
NewLineBetweenMultiLinePropertyOption?, | ||
]; | ||
@@ -21,3 +23,4 @@ /** | ||
*/ | ||
export type NewLineBetweenMultiLinePropertyRuleConfig = RuleConfig<NewLineBetweenMultiLinePropertyOptions>; | ||
export type NewLineBetweenMultiLinePropertyRuleConfig = | ||
RuleConfig<NewLineBetweenMultiLinePropertyOptions>; | ||
@@ -24,0 +27,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoConstantConditionRuleConfig = RuleConfig<NoConstantConditionOptions>; | ||
export type NoConstantConditionRuleConfig = | ||
RuleConfig<NoConstantConditionOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -14,3 +14,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoDeprecatedRouterLinkTagPropOptions = [NoDeprecatedRouterLinkTagPropOption?]; | ||
export type NoDeprecatedRouterLinkTagPropOptions = [ | ||
NoDeprecatedRouterLinkTagPropOption?, | ||
]; | ||
@@ -22,3 +24,4 @@ /** | ||
*/ | ||
export type NoDeprecatedRouterLinkTagPropRuleConfig = RuleConfig<NoDeprecatedRouterLinkTagPropOptions>; | ||
export type NoDeprecatedRouterLinkTagPropRuleConfig = | ||
RuleConfig<NoDeprecatedRouterLinkTagPropOptions>; | ||
@@ -25,0 +28,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoDuplicateAttributesRuleConfig = RuleConfig<NoDuplicateAttributesOptions>; | ||
export type NoDuplicateAttributesRuleConfig = | ||
RuleConfig<NoDuplicateAttributesOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -22,3 +22,3 @@ import type { RuleConfig } from '../rule-config'; | ||
enforceForFunctionPrototypeMethods?: boolean; | ||
} | ||
}, | ||
]; | ||
@@ -25,0 +25,0 @@ |
@@ -25,3 +25,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoIrregularWhitespaceRuleConfig = RuleConfig<NoIrregularWhitespaceOptions>; | ||
export type NoIrregularWhitespaceRuleConfig = | ||
RuleConfig<NoIrregularWhitespaceOptions>; | ||
@@ -28,0 +29,0 @@ /** |
@@ -15,3 +15,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoPotentialComponentOptionTypoOptions = [NoPotentialComponentOptionTypoOption?]; | ||
export type NoPotentialComponentOptionTypoOptions = [ | ||
NoPotentialComponentOptionTypoOption?, | ||
]; | ||
@@ -23,3 +25,4 @@ /** | ||
*/ | ||
export type NoPotentialComponentOptionTypoRuleConfig = RuleConfig<NoPotentialComponentOptionTypoOptions>; | ||
export type NoPotentialComponentOptionTypoRuleConfig = | ||
RuleConfig<NoPotentialComponentOptionTypoOptions>; | ||
@@ -26,0 +29,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoReservedComponentNamesRuleConfig = RuleConfig<NoReservedComponentNamesOptions>; | ||
export type NoReservedComponentNamesRuleConfig = | ||
RuleConfig<NoReservedComponentNamesOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -15,3 +15,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedCallAfterAwaitOptions = NoRestrictedCallAfterAwaitOption; | ||
export type NoRestrictedCallAfterAwaitOptions = | ||
NoRestrictedCallAfterAwaitOption; | ||
@@ -23,3 +24,4 @@ /** | ||
*/ | ||
export type NoRestrictedCallAfterAwaitRuleConfig = RuleConfig<NoRestrictedCallAfterAwaitOptions>; | ||
export type NoRestrictedCallAfterAwaitRuleConfig = | ||
RuleConfig<NoRestrictedCallAfterAwaitOptions>; | ||
@@ -26,0 +28,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedComponentOptionsOptions = NoRestrictedComponentOptionsOption; | ||
export type NoRestrictedComponentOptionsOptions = | ||
NoRestrictedComponentOptionsOption; | ||
@@ -26,3 +27,4 @@ /** | ||
*/ | ||
export type NoRestrictedComponentOptionsRuleConfig = RuleConfig<NoRestrictedComponentOptionsOptions>; | ||
export type NoRestrictedComponentOptionsRuleConfig = | ||
RuleConfig<NoRestrictedComponentOptionsOptions>; | ||
@@ -29,0 +31,0 @@ /** |
@@ -25,3 +25,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedCustomEventRuleConfig = RuleConfig<NoRestrictedCustomEventOptions>; | ||
export type NoRestrictedCustomEventRuleConfig = | ||
RuleConfig<NoRestrictedCustomEventOptions>; | ||
@@ -28,0 +29,0 @@ /** |
@@ -19,3 +19,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedStaticAttributeOptions = NoRestrictedStaticAttributeOption; | ||
export type NoRestrictedStaticAttributeOptions = | ||
NoRestrictedStaticAttributeOption; | ||
@@ -27,3 +28,4 @@ /** | ||
*/ | ||
export type NoRestrictedStaticAttributeRuleConfig = RuleConfig<NoRestrictedStaticAttributeOptions>; | ||
export type NoRestrictedStaticAttributeRuleConfig = | ||
RuleConfig<NoRestrictedStaticAttributeOptions>; | ||
@@ -30,0 +32,0 @@ /** |
@@ -24,3 +24,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoRestrictedSyntaxRuleConfig = RuleConfig<NoRestrictedSyntaxOptions>; | ||
export type NoRestrictedSyntaxRuleConfig = | ||
RuleConfig<NoRestrictedSyntaxOptions>; | ||
@@ -27,0 +28,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoStaticInlineStylesRuleConfig = RuleConfig<NoStaticInlineStylesOptions>; | ||
export type NoStaticInlineStylesRuleConfig = | ||
RuleConfig<NoStaticInlineStylesOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoTemplateTargetBlankRuleConfig = RuleConfig<NoTemplateTargetBlankOptions>; | ||
export type NoTemplateTargetBlankRuleConfig = | ||
RuleConfig<NoTemplateTargetBlankOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnregisteredComponentsRuleConfig = RuleConfig<NoUnregisteredComponentsOptions>; | ||
export type NoUnregisteredComponentsRuleConfig = | ||
RuleConfig<NoUnregisteredComponentsOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -34,3 +34,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnsupportedFeaturesRuleConfig = RuleConfig<NoUnsupportedFeaturesOptions>; | ||
export type NoUnsupportedFeaturesRuleConfig = | ||
RuleConfig<NoUnsupportedFeaturesOptions>; | ||
@@ -37,0 +38,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUnusedComponentsRuleConfig = RuleConfig<NoUnusedComponentsOptions>; | ||
export type NoUnusedComponentsRuleConfig = | ||
RuleConfig<NoUnusedComponentsOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -7,3 +7,10 @@ import type { RuleConfig } from '../rule-config'; | ||
export interface NoUnusedPropertiesOption { | ||
groups?: ('props' | 'data' | 'asyncData' | 'computed' | 'methods' | 'setup')[]; | ||
groups?: ( | ||
| 'props' | ||
| 'data' | ||
| 'asyncData' | ||
| 'computed' | ||
| 'methods' | ||
| 'setup' | ||
)[]; | ||
deepData?: boolean; | ||
@@ -23,3 +30,4 @@ ignorePublicMembers?: boolean; | ||
*/ | ||
export type NoUnusedPropertiesRuleConfig = RuleConfig<NoUnusedPropertiesOptions>; | ||
export type NoUnusedPropertiesRuleConfig = | ||
RuleConfig<NoUnusedPropertiesOptions>; | ||
@@ -26,0 +34,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type NoUselessMustachesRuleConfig = RuleConfig<NoUselessMustachesOptions>; | ||
export type NoUselessMustachesRuleConfig = | ||
RuleConfig<NoUselessMustachesOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -56,3 +56,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ObjectCurlyNewlineRuleConfig = RuleConfig<ObjectCurlyNewlineOptions>; | ||
export type ObjectCurlyNewlineRuleConfig = | ||
RuleConfig<ObjectCurlyNewlineOptions>; | ||
@@ -59,0 +60,0 @@ /** |
@@ -19,3 +19,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ObjectCurlySpacingOptions = [ObjectCurlySpacingOption?, ObjectCurlySpacingConfig?]; | ||
export type ObjectCurlySpacingOptions = [ | ||
ObjectCurlySpacingOption?, | ||
ObjectCurlySpacingConfig?, | ||
]; | ||
@@ -27,3 +30,4 @@ /** | ||
*/ | ||
export type ObjectCurlySpacingRuleConfig = RuleConfig<ObjectCurlySpacingOptions>; | ||
export type ObjectCurlySpacingRuleConfig = | ||
RuleConfig<ObjectCurlySpacingOptions>; | ||
@@ -30,0 +34,0 @@ /** |
@@ -21,3 +21,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ObjectPropertyNewlineRuleConfig = RuleConfig<ObjectPropertyNewlineOptions>; | ||
export type ObjectPropertyNewlineRuleConfig = | ||
RuleConfig<ObjectPropertyNewlineOptions>; | ||
@@ -24,0 +25,0 @@ /** |
@@ -20,3 +20,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type OperatorLinebreakOptions = [OperatorLinebreakOption?, OperatorLinebreakConfig?]; | ||
export type OperatorLinebreakOptions = [ | ||
OperatorLinebreakOption?, | ||
OperatorLinebreakConfig?, | ||
]; | ||
@@ -23,0 +26,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type PaddingLineBetweenBlocksRuleConfig = RuleConfig<PaddingLineBetweenBlocksOptions>; | ||
export type PaddingLineBetweenBlocksRuleConfig = | ||
RuleConfig<PaddingLineBetweenBlocksOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireDirectExportRuleConfig = RuleConfig<RequireDirectExportOptions>; | ||
export type RequireDirectExportRuleConfig = | ||
RuleConfig<RequireDirectExportOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type RequireExplicitEmitsRuleConfig = RuleConfig<RequireExplicitEmitsOptions>; | ||
export type RequireExplicitEmitsRuleConfig = | ||
RuleConfig<RequireExplicitEmitsOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -20,3 +20,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type ReturnInComputedPropertyRuleConfig = RuleConfig<ReturnInComputedPropertyOptions>; | ||
export type ReturnInComputedPropertyRuleConfig = | ||
RuleConfig<ReturnInComputedPropertyOptions>; | ||
@@ -23,0 +24,0 @@ /** |
@@ -15,3 +15,5 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type SinglelineHtmlElementContentNewlineOptions = [SinglelineHtmlElementContentNewlineOption?]; | ||
export type SinglelineHtmlElementContentNewlineOptions = [ | ||
SinglelineHtmlElementContentNewlineOption?, | ||
]; | ||
@@ -23,3 +25,4 @@ /** | ||
*/ | ||
export type SinglelineHtmlElementContentNewlineRuleConfig = RuleConfig<SinglelineHtmlElementContentNewlineOptions>; | ||
export type SinglelineHtmlElementContentNewlineRuleConfig = | ||
RuleConfig<SinglelineHtmlElementContentNewlineOptions>; | ||
@@ -26,0 +29,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type TemplateCurlySpacingRuleConfig = RuleConfig<TemplateCurlySpacingOptions>; | ||
export type TemplateCurlySpacingRuleConfig = | ||
RuleConfig<TemplateCurlySpacingOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -18,3 +18,4 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type VForDelimiterStyleRuleConfig = RuleConfig<VForDelimiterStyleOptions>; | ||
export type VForDelimiterStyleRuleConfig = | ||
RuleConfig<VForDelimiterStyleOptions>; | ||
@@ -21,0 +22,0 @@ /** |
@@ -23,3 +23,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type VOnEventHyphenationOptions = [VOnEventHyphenationOption?, VOnEventHyphenationConfig?]; | ||
export type VOnEventHyphenationOptions = [ | ||
VOnEventHyphenationOption?, | ||
VOnEventHyphenationConfig?, | ||
]; | ||
@@ -31,3 +34,4 @@ /** | ||
*/ | ||
export type VOnEventHyphenationRuleConfig = RuleConfig<VOnEventHyphenationOptions>; | ||
export type VOnEventHyphenationRuleConfig = | ||
RuleConfig<VOnEventHyphenationOptions>; | ||
@@ -34,0 +38,0 @@ /** |
@@ -18,3 +18,6 @@ import type { RuleConfig } from '../rule-config'; | ||
*/ | ||
export type VOnFunctionCallOptions = [VOnFunctionCallOption?, VOnFunctionCallConfig?]; | ||
export type VOnFunctionCallOptions = [ | ||
VOnFunctionCallOption?, | ||
VOnFunctionCallConfig?, | ||
]; | ||
@@ -21,0 +24,0 @@ /** |
@@ -8,2 +8,6 @@ import type { ImportSettings } from './import'; | ||
*/ | ||
export interface Settings extends ImportSettings, JSDocSettings, NodeSettings, Partial<Record<string, unknown>> {} | ||
export interface Settings | ||
extends ImportSettings, | ||
JSDocSettings, | ||
NodeSettings, | ||
Partial<Record<string, unknown>> {} |
@@ -36,3 +36,6 @@ /** | ||
*/ | ||
tagNamePreference?: Record<string, string | { message: string; replacement?: string } | false>; | ||
tagNamePreference?: Record< | ||
string, | ||
string | { message: string; replacement?: string } | false | ||
>; | ||
overrideReplacesDocs?: boolean; | ||
@@ -39,0 +42,0 @@ augmentsExtendsReplacesDocs?: boolean; |
@@ -6,2 +6,4 @@ /** | ||
*/ | ||
export type LiteralUnion<T extends U, U = string> = T | (U & { zz_IGNORE_ME?: never }); | ||
export type LiteralUnion<T extends U, U = string> = | ||
| T | ||
| (U & { zz_IGNORE_ME?: never }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
932411
30297