Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
  • Loading branch information
bradzacher and JoshuaKGoldberg committed Feb 15, 2024
1 parent 5952c41 commit c0b9e62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/utils/src/ts-eslint/Parser.ts
Expand Up @@ -21,7 +21,7 @@ export namespace Parser {
* This type intended to relax validation of configs so that parsers that have
* different AST types or scope managers can still be passed to configs
*
* See also LooseRuleDefinition, LooseProcessorModule
* @see {@link LooseRuleDefinition}, {@link LooseProcessorModule}
*/
export type LooseParserModule =
| {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/src/ts-eslint/Processor.ts
Expand Up @@ -51,7 +51,7 @@ export namespace Processor {
* This type intended to relax validation of configs so that parsers that have
* different AST types or scope managers can still be passed to configs
*
* See also LooseRuleDefinition, LooseParserModule
* @see {@link LooseRuleDefinition}, {@link LooseParserModule}
*/
export interface LooseProcessorModule {
/**
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/src/ts-eslint/Rule.ts
Expand Up @@ -635,7 +635,7 @@ export interface RuleModule<
export type AnyRuleModule = RuleModule<string, readonly unknown[]>;

/**
* A loose definition of the RuleModule type for use with configs. This type
* A loose definition of the RuleModule type for use with configs. This type is
* intended to relax validation of types so that we can have basic validation
* without being overly strict about nitty gritty details matching.
*
Expand All @@ -644,7 +644,7 @@ export type AnyRuleModule = RuleModule<string, readonly unknown[]>;
* super strict validation in a config - a loose shape match is "good enough" to
* help validate the config is correct.
*
* See also LooseParserModule, LooseProcessorModule
* @see {@link LooseParserModule}, {@link LooseProcessorModule}
*/
export type LooseRuleDefinition =
// TODO - ESLint v9 will remove support for RuleCreateFunction
Expand Down

0 comments on commit c0b9e62

Please sign in to comment.