62 lines
1.9 KiB
TypeScript
62 lines
1.9 KiB
TypeScript
import { a as JSONCSourceCode, i as JSONCComment, n as JSONCLanguage, o as JSONCToken, r as JSONCLanguageOptions, t as RuleModule } from "./types-DS229oMx.mjs";
|
|
import { Linter } from "eslint";
|
|
|
|
//#region lib/meta.d.ts
|
|
declare namespace meta_d_exports {
|
|
export { name, version };
|
|
}
|
|
declare const name: "eslint-plugin-jsonc";
|
|
declare const version: "3.1.2";
|
|
//#endregion
|
|
//#region lib/index.d.ts
|
|
declare const configs: {
|
|
base: Linter.Config[];
|
|
"recommended-with-json": Linter.Config[];
|
|
"recommended-with-jsonc": Linter.Config[];
|
|
"recommended-with-json5": Linter.Config[];
|
|
prettier: Linter.Config[];
|
|
all: Linter.Config[];
|
|
"flat/base": Linter.Config[];
|
|
"flat/recommended-with-json": Linter.Config[];
|
|
"flat/recommended-with-jsonc": Linter.Config[];
|
|
"flat/recommended-with-json5": Linter.Config[];
|
|
"flat/prettier": Linter.Config[];
|
|
"flat/all": Linter.Config[];
|
|
};
|
|
declare const rules: {
|
|
[key: string]: RuleModule<unknown[]>;
|
|
};
|
|
declare const languages: {
|
|
json: JSONCLanguage;
|
|
jsonc: JSONCLanguage;
|
|
json5: JSONCLanguage;
|
|
x: JSONCLanguage;
|
|
};
|
|
declare const _default: {
|
|
meta: typeof meta_d_exports;
|
|
configs: {
|
|
base: Linter.Config[];
|
|
"recommended-with-json": Linter.Config[];
|
|
"recommended-with-jsonc": Linter.Config[];
|
|
"recommended-with-json5": Linter.Config[];
|
|
prettier: Linter.Config[];
|
|
all: Linter.Config[];
|
|
"flat/base": Linter.Config[];
|
|
"flat/recommended-with-json": Linter.Config[];
|
|
"flat/recommended-with-jsonc": Linter.Config[];
|
|
"flat/recommended-with-json5": Linter.Config[];
|
|
"flat/prettier": Linter.Config[];
|
|
"flat/all": Linter.Config[];
|
|
};
|
|
rules: {
|
|
[key: string]: RuleModule<unknown[]>;
|
|
};
|
|
languages: {
|
|
json: JSONCLanguage;
|
|
jsonc: JSONCLanguage;
|
|
json5: JSONCLanguage;
|
|
x: JSONCLanguage;
|
|
};
|
|
};
|
|
//#endregion
|
|
export { type JSONCComment, type JSONCLanguageOptions, type JSONCSourceCode, type JSONCToken, configs, _default as default, languages, meta_d_exports as meta, rules }; |