@eslint/core
Advanced tools
@@ -87,7 +87,2 @@ /** | ||
| /** | ||
| * The category the rule falls under. | ||
| * @deprecated No longer used. | ||
| */ | ||
| category?: string | undefined; | ||
| /** | ||
| * Indicates if the rule is generally recommended for all users. | ||
@@ -346,2 +341,6 @@ * | ||
| export type RuleFixer = (fixer: RuleTextEditor) => RuleTextEdit | Iterable<RuleTextEdit> | null; | ||
| /** | ||
| * Data that can be used to fill placeholders in error messages. | ||
| */ | ||
| export type MessagePlaceholderData = Record<string, string | number | boolean | bigint | null | undefined>; | ||
| export interface ViolationReportBase { | ||
@@ -351,3 +350,3 @@ /** | ||
| */ | ||
| data?: Record<string, unknown> | undefined; | ||
| data?: MessagePlaceholderData | undefined; | ||
| /** | ||
@@ -378,3 +377,3 @@ * The fix to be applied for the violation. | ||
| */ | ||
| data?: Record<string, unknown> | undefined; | ||
| data?: MessagePlaceholderData | undefined; | ||
| /** | ||
@@ -617,3 +616,3 @@ * The fix to be applied for the suggestion. | ||
| */ | ||
| settings?: Record<string, unknown>; | ||
| settings?: SettingsConfig; | ||
| } | ||
@@ -681,3 +680,2 @@ /** @deprecated Only supported in legacy eslintrc config format. */ | ||
| jsx?: boolean | undefined; | ||
| experimentalObjectRestSpread?: boolean | undefined; | ||
| [key: string]: any; | ||
@@ -684,0 +682,0 @@ } | undefined; |
@@ -87,7 +87,2 @@ /** | ||
| /** | ||
| * The category the rule falls under. | ||
| * @deprecated No longer used. | ||
| */ | ||
| category?: string | undefined; | ||
| /** | ||
| * Indicates if the rule is generally recommended for all users. | ||
@@ -346,2 +341,6 @@ * | ||
| export type RuleFixer = (fixer: RuleTextEditor) => RuleTextEdit | Iterable<RuleTextEdit> | null; | ||
| /** | ||
| * Data that can be used to fill placeholders in error messages. | ||
| */ | ||
| export type MessagePlaceholderData = Record<string, string | number | boolean | bigint | null | undefined>; | ||
| export interface ViolationReportBase { | ||
@@ -351,3 +350,3 @@ /** | ||
| */ | ||
| data?: Record<string, unknown> | undefined; | ||
| data?: MessagePlaceholderData | undefined; | ||
| /** | ||
@@ -378,3 +377,3 @@ * The fix to be applied for the violation. | ||
| */ | ||
| data?: Record<string, unknown> | undefined; | ||
| data?: MessagePlaceholderData | undefined; | ||
| /** | ||
@@ -617,3 +616,3 @@ * The fix to be applied for the suggestion. | ||
| */ | ||
| settings?: Record<string, unknown>; | ||
| settings?: SettingsConfig; | ||
| } | ||
@@ -681,3 +680,2 @@ /** @deprecated Only supported in legacy eslintrc config format. */ | ||
| jsx?: boolean | undefined; | ||
| experimentalObjectRestSpread?: boolean | undefined; | ||
| [key: string]: any; | ||
@@ -684,0 +682,0 @@ } | undefined; |
+3
-2
| { | ||
| "name": "@eslint/core", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "Runtime-agnostic core of ESLint", | ||
@@ -22,3 +22,4 @@ "type": "module", | ||
| "build": "tsc && npm run build:cts", | ||
| "test:jsr": "npx jsr@latest publish --dry-run", | ||
| "lint:types": "attw --pack", | ||
| "test:jsr": "npx -y jsr@latest publish --dry-run", | ||
| "test:types": "tsc -p tests/types/tsconfig.json" | ||
@@ -25,0 +26,0 @@ }, |
+2
-2
@@ -22,6 +22,6 @@ # ESLint Core | ||
| <h3>Platinum Sponsors</h3> | ||
| <p><a href="https://automattic.com"><img src="https://images.opencollective.com/automattic/d0ef3e1/logo.png" alt="Automattic" height="128"></a> <a href="https://www.airbnb.com/"><img src="https://images.opencollective.com/airbnb/d327d66/logo.png" alt="Airbnb" height="128"></a></p><h3>Gold Sponsors</h3> | ||
| <p><a href="https://automattic.com"><img src="https://images.opencollective.com/automattic/d0ef3e1/logo.png" alt="Automattic" height="128"></a></p><h3>Gold Sponsors</h3> | ||
| <p><a href="https://qlty.sh/"><img src="https://images.opencollective.com/qltysh/33d157d/logo.png" alt="Qlty Software" height="96"></a> <a href="https://shopify.engineering/"><img src="https://avatars.githubusercontent.com/u/8085" alt="Shopify" height="96"></a></p><h3>Silver Sponsors</h3> | ||
| <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/2d6c3b6/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://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://syntax.fm"><img src="https://github.com/syntaxfm.png" alt="Syntax" 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> | ||
| <p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.crawljobs.com/"><img src="https://images.opencollective.com/crawljobs-poland/fa43a17/logo.png" alt="CrawlJobs" height="32"></a> <a href="https://syntax.fm"><img src="https://github.com/syntaxfm.png" alt="Syntax" height="32"></a> <a href="https://www.n-ix.com/"><img src="https://images.opencollective.com/n-ix-ltd/575a7a5/logo.png" alt="N-iX Ltd" 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://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> | ||
@@ -28,0 +28,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
90403
01143
-0.17%