@eslint/plugin-kit
Advanced tools
+15
-13
@@ -15,6 +15,8 @@ 'use strict'; | ||
| /** @typedef {import("@eslint/core").RuleConfig} RuleConfig */ | ||
| /** @typedef {import("@eslint/core").RulesConfig} RulesConfig */ | ||
| /** @typedef {import("./types.ts").StringConfig} StringConfig */ | ||
| /** @typedef {import("./types.ts").BooleanConfig} BooleanConfig */ | ||
| /** @import * as $eslintcore from "@eslint/core"; */ | ||
| /** @typedef {$eslintcore.RuleConfig} RuleConfig */ | ||
| /** @typedef {$eslintcore.RulesConfig} RulesConfig */ | ||
| /** @import * as $typests from "./types.ts"; */ | ||
| /** @typedef {$typests.StringConfig} StringConfig */ | ||
| /** @typedef {$typests.BooleanConfig} BooleanConfig */ | ||
@@ -258,11 +260,11 @@ //----------------------------------------------------------------------------- | ||
| /** @typedef {import("@eslint/core").VisitTraversalStep} VisitTraversalStep */ | ||
| /** @typedef {import("@eslint/core").CallTraversalStep} CallTraversalStep */ | ||
| /** @typedef {import("@eslint/core").TraversalStep} TraversalStep */ | ||
| /** @typedef {import("@eslint/core").SourceLocation} SourceLocation */ | ||
| /** @typedef {import("@eslint/core").SourceLocationWithOffset} SourceLocationWithOffset */ | ||
| /** @typedef {import("@eslint/core").SourceRange} SourceRange */ | ||
| /** @typedef {import("@eslint/core").Directive} IDirective */ | ||
| /** @typedef {import("@eslint/core").DirectiveType} DirectiveType */ | ||
| /** @typedef {import("@eslint/core").SourceCodeBaseTypeOptions} SourceCodeBaseTypeOptions */ | ||
| /** @typedef {$eslintcore.VisitTraversalStep} VisitTraversalStep */ | ||
| /** @typedef {$eslintcore.CallTraversalStep} CallTraversalStep */ | ||
| /** @typedef {$eslintcore.TraversalStep} TraversalStep */ | ||
| /** @typedef {$eslintcore.SourceLocation} SourceLocation */ | ||
| /** @typedef {$eslintcore.SourceLocationWithOffset} SourceLocationWithOffset */ | ||
| /** @typedef {$eslintcore.SourceRange} SourceRange */ | ||
| /** @typedef {$eslintcore.Directive} IDirective */ | ||
| /** @typedef {$eslintcore.DirectiveType} DirectiveType */ | ||
| /** @typedef {$eslintcore.SourceCodeBaseTypeOptions} SourceCodeBaseTypeOptions */ | ||
| /** | ||
@@ -269,0 +271,0 @@ * @typedef {import("@eslint/core").TextSourceCode<Options>} TextSourceCode<Options> |
+17
-15
@@ -1,18 +0,18 @@ | ||
| export type VisitTraversalStep = import("@eslint/core").VisitTraversalStep; | ||
| export type CallTraversalStep = import("@eslint/core").CallTraversalStep; | ||
| export type TraversalStep = import("@eslint/core").TraversalStep; | ||
| export type SourceLocation = import("@eslint/core").SourceLocation; | ||
| export type SourceLocationWithOffset = import("@eslint/core").SourceLocationWithOffset; | ||
| export type SourceRange = import("@eslint/core").SourceRange; | ||
| export type IDirective = import("@eslint/core").Directive; | ||
| export type DirectiveType = import("@eslint/core").DirectiveType; | ||
| export type SourceCodeBaseTypeOptions = import("@eslint/core").SourceCodeBaseTypeOptions; | ||
| export type VisitTraversalStep = $eslintcore.VisitTraversalStep; | ||
| export type CallTraversalStep = $eslintcore.CallTraversalStep; | ||
| export type TraversalStep = $eslintcore.TraversalStep; | ||
| export type SourceLocation = $eslintcore.SourceLocation; | ||
| export type SourceLocationWithOffset = $eslintcore.SourceLocationWithOffset; | ||
| export type SourceRange = $eslintcore.SourceRange; | ||
| export type IDirective = $eslintcore.Directive; | ||
| export type DirectiveType = $eslintcore.DirectiveType; | ||
| export type SourceCodeBaseTypeOptions = $eslintcore.SourceCodeBaseTypeOptions; | ||
| /** | ||
| * <Options> | ||
| */ | ||
| export type TextSourceCode<Options extends SourceCodeBaseTypeOptions = import("@eslint/core").SourceCodeBaseTypeOptions> = import("@eslint/core").TextSourceCode<Options>; | ||
| export type RuleConfig = import("@eslint/core").RuleConfig; | ||
| export type RulesConfig = import("@eslint/core").RulesConfig; | ||
| export type StringConfig = import("./types.cts").StringConfig; | ||
| export type BooleanConfig = import("./types.cts").BooleanConfig; | ||
| export type TextSourceCode<Options extends SourceCodeBaseTypeOptions = $eslintcore.SourceCodeBaseTypeOptions> = import("@eslint/core").TextSourceCode<Options>; | ||
| export type RuleConfig = $eslintcore.RuleConfig; | ||
| export type RulesConfig = $eslintcore.RulesConfig; | ||
| export type StringConfig = $typests.StringConfig; | ||
| export type BooleanConfig = $typests.BooleanConfig; | ||
| /** | ||
@@ -150,3 +150,3 @@ * A class to represent a step in the traversal process where a | ||
| SyntaxElementWithLoc: object; | ||
| } = import("@eslint/core").SourceCodeBaseTypeOptions & { | ||
| } = $eslintcore.SourceCodeBaseTypeOptions & { | ||
| RootNode: object; | ||
@@ -300,2 +300,4 @@ SyntaxElementWithLoc: object; | ||
| } | ||
| import type * as $eslintcore from "@eslint/core"; | ||
| import type * as $typests from "./types.cts"; | ||
| /** | ||
@@ -302,0 +304,0 @@ * Represents a directive comment. |
+17
-15
@@ -1,18 +0,18 @@ | ||
| export type VisitTraversalStep = import("@eslint/core").VisitTraversalStep; | ||
| export type CallTraversalStep = import("@eslint/core").CallTraversalStep; | ||
| export type TraversalStep = import("@eslint/core").TraversalStep; | ||
| export type SourceLocation = import("@eslint/core").SourceLocation; | ||
| export type SourceLocationWithOffset = import("@eslint/core").SourceLocationWithOffset; | ||
| export type SourceRange = import("@eslint/core").SourceRange; | ||
| export type IDirective = import("@eslint/core").Directive; | ||
| export type DirectiveType = import("@eslint/core").DirectiveType; | ||
| export type SourceCodeBaseTypeOptions = import("@eslint/core").SourceCodeBaseTypeOptions; | ||
| export type VisitTraversalStep = $eslintcore.VisitTraversalStep; | ||
| export type CallTraversalStep = $eslintcore.CallTraversalStep; | ||
| export type TraversalStep = $eslintcore.TraversalStep; | ||
| export type SourceLocation = $eslintcore.SourceLocation; | ||
| export type SourceLocationWithOffset = $eslintcore.SourceLocationWithOffset; | ||
| export type SourceRange = $eslintcore.SourceRange; | ||
| export type IDirective = $eslintcore.Directive; | ||
| export type DirectiveType = $eslintcore.DirectiveType; | ||
| export type SourceCodeBaseTypeOptions = $eslintcore.SourceCodeBaseTypeOptions; | ||
| /** | ||
| * <Options> | ||
| */ | ||
| export type TextSourceCode<Options extends SourceCodeBaseTypeOptions = import("@eslint/core").SourceCodeBaseTypeOptions> = import("@eslint/core").TextSourceCode<Options>; | ||
| export type RuleConfig = import("@eslint/core").RuleConfig; | ||
| export type RulesConfig = import("@eslint/core").RulesConfig; | ||
| export type StringConfig = import("./types.ts").StringConfig; | ||
| export type BooleanConfig = import("./types.ts").BooleanConfig; | ||
| export type TextSourceCode<Options extends SourceCodeBaseTypeOptions = $eslintcore.SourceCodeBaseTypeOptions> = import("@eslint/core").TextSourceCode<Options>; | ||
| export type RuleConfig = $eslintcore.RuleConfig; | ||
| export type RulesConfig = $eslintcore.RulesConfig; | ||
| export type StringConfig = $typests.StringConfig; | ||
| export type BooleanConfig = $typests.BooleanConfig; | ||
| /** | ||
@@ -150,3 +150,3 @@ * A class to represent a step in the traversal process where a | ||
| SyntaxElementWithLoc: object; | ||
| } = import("@eslint/core").SourceCodeBaseTypeOptions & { | ||
| } = $eslintcore.SourceCodeBaseTypeOptions & { | ||
| RootNode: object; | ||
@@ -300,2 +300,4 @@ SyntaxElementWithLoc: object; | ||
| } | ||
| import type * as $eslintcore from "@eslint/core"; | ||
| import type * as $typests from "./types.ts"; | ||
| /** | ||
@@ -302,0 +304,0 @@ * Represents a directive comment. |
+15
-13
@@ -14,6 +14,8 @@ // @ts-self-types="./index.d.ts" | ||
| /** @typedef {import("@eslint/core").RuleConfig} RuleConfig */ | ||
| /** @typedef {import("@eslint/core").RulesConfig} RulesConfig */ | ||
| /** @typedef {import("./types.ts").StringConfig} StringConfig */ | ||
| /** @typedef {import("./types.ts").BooleanConfig} BooleanConfig */ | ||
| /** @import * as $eslintcore from "@eslint/core"; */ | ||
| /** @typedef {$eslintcore.RuleConfig} RuleConfig */ | ||
| /** @typedef {$eslintcore.RulesConfig} RulesConfig */ | ||
| /** @import * as $typests from "./types.ts"; */ | ||
| /** @typedef {$typests.StringConfig} StringConfig */ | ||
| /** @typedef {$typests.BooleanConfig} BooleanConfig */ | ||
@@ -257,11 +259,11 @@ //----------------------------------------------------------------------------- | ||
| /** @typedef {import("@eslint/core").VisitTraversalStep} VisitTraversalStep */ | ||
| /** @typedef {import("@eslint/core").CallTraversalStep} CallTraversalStep */ | ||
| /** @typedef {import("@eslint/core").TraversalStep} TraversalStep */ | ||
| /** @typedef {import("@eslint/core").SourceLocation} SourceLocation */ | ||
| /** @typedef {import("@eslint/core").SourceLocationWithOffset} SourceLocationWithOffset */ | ||
| /** @typedef {import("@eslint/core").SourceRange} SourceRange */ | ||
| /** @typedef {import("@eslint/core").Directive} IDirective */ | ||
| /** @typedef {import("@eslint/core").DirectiveType} DirectiveType */ | ||
| /** @typedef {import("@eslint/core").SourceCodeBaseTypeOptions} SourceCodeBaseTypeOptions */ | ||
| /** @typedef {$eslintcore.VisitTraversalStep} VisitTraversalStep */ | ||
| /** @typedef {$eslintcore.CallTraversalStep} CallTraversalStep */ | ||
| /** @typedef {$eslintcore.TraversalStep} TraversalStep */ | ||
| /** @typedef {$eslintcore.SourceLocation} SourceLocation */ | ||
| /** @typedef {$eslintcore.SourceLocationWithOffset} SourceLocationWithOffset */ | ||
| /** @typedef {$eslintcore.SourceRange} SourceRange */ | ||
| /** @typedef {$eslintcore.Directive} IDirective */ | ||
| /** @typedef {$eslintcore.DirectiveType} DirectiveType */ | ||
| /** @typedef {$eslintcore.SourceCodeBaseTypeOptions} SourceCodeBaseTypeOptions */ | ||
| /** | ||
@@ -268,0 +270,0 @@ * @typedef {import("@eslint/core").TextSourceCode<Options>} TextSourceCode<Options> |
+2
-2
| { | ||
| "name": "@eslint/plugin-kit", | ||
| "version": "0.4.0", | ||
| "version": "0.4.1", | ||
| "description": "Utilities for building ESLint plugins.", | ||
@@ -51,3 +51,3 @@ "author": "Nicholas C. Zakas", | ||
| "dependencies": { | ||
| "@eslint/core": "^0.16.0", | ||
| "@eslint/core": "^0.17.0", | ||
| "levn": "^0.4.1" | ||
@@ -54,0 +54,0 @@ }, |
+1
-1
@@ -269,3 +269,3 @@ # ESLint Plugin Kit | ||
| <p><a href="https://vite.dev/"><img src="https://images.opencollective.com/vite/e6d15e1/logo.png" alt="Vite" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301" alt="American Express" height="64"></a> <a href="https://stackblitz.com"><img src="https://avatars.githubusercontent.com/u/28635252" alt="StackBlitz" height="64"></a></p><h3>Bronze Sponsors</h3> | ||
| <p><a href="https://syntax.fm"><img src="https://github.com/syntaxfm.png" alt="Syntax" height="32"></a> <a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://sentry.io"><img src="https://github.com/getsentry.png" alt="Sentry" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a> <a href="https://www.lambdatest.com"><img src="https://avatars.githubusercontent.com/u/171592363" alt="LambdaTest" height="32"></a></p> | ||
| <p><a href="https://syntax.fm"><img src="https://github.com/syntaxfm.png" alt="Syntax" height="32"></a> <a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://sentry.io"><img src="https://github.com/getsentry.png" alt="Sentry" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a> <a href="https://www.lambdatest.com"><img src="https://avatars.githubusercontent.com/u/171592363" alt="LambdaTest" height="32"></a></p> | ||
| <h3>Technology Sponsors</h3> | ||
@@ -272,0 +272,0 @@ Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work. |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1864
0.32%7
-30%100997
-0.1%+ Added
- Removed
Updated