eslint-plugin-format
Advanced tools
Comparing version
import * as eslint from 'eslint'; | ||
import { Linter } from 'eslint'; | ||
import { ESLint, Linter } from 'eslint'; | ||
import * as parserPlain from 'eslint-parser-plain'; | ||
interface ESLintPluginFormat extends ESLint.Plugin { | ||
parserPlain: Linter.Parser; | ||
} | ||
declare const _default: { | ||
parserPlain: (eslint.ESLint.ObjectMetaProperties & { | ||
parseForESLint(text: string, options?: any): Linter.ESLintParseResult; | ||
}) | (Omit<Linter.ESTreeParser, "parseForESLint"> & { | ||
parseForESLint(text: string, options?: any): Omit<Linter.ESLintParseResult, "ast" | "scopeManager"> & { | ||
ast: unknown; | ||
scopeManager?: unknown; | ||
}; | ||
}); | ||
parserPlain: typeof parserPlain; | ||
rules: { | ||
@@ -76,2 +73,2 @@ prettier: { | ||
export { _default as default }; | ||
export { type ESLintPluginFormat, _default as default }; |
{ | ||
"name": "eslint-plugin-format", | ||
"type": "module", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"packageManager": "pnpm@9.15.3", | ||
@@ -77,3 +77,3 @@ "description": "Format various languages with formatters in ESLint", | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^3.12.1", | ||
"@antfu/eslint-config": "^3.12.2", | ||
"@antfu/ni": "^0.23.2", | ||
@@ -80,0 +80,0 @@ "@antfu/utils": "^0.7.10", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23072
-2.91%395
-3.66%