express-zod-api
Version:
A Typescript framework to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.
22 lines (19 loc) • 838 B
TypeScript
import { ESLintUtils } from '@typescript-eslint/utils';
/**
* @desc ESLint plugin for migrating to this version (from previous), requires eslint v9 and typescript-eslint v8
* @deprecated Single-use tool that can be removed and changed regardless SemVer. Remember to delete it after use.
* @example
* // eslint.config.mjs:
* import parser from "@typescript-eslint/parser";
* import migration from "express-zod-api/migration";
* export default [
* { languageOptions: {parser}, plugins: {migration} },
* { files: ["**\/*.ts"], rules: { "migration/v21": "error" } }
* ];
* */
declare const _default: {
rules: {
v22: ESLintUtils.RuleModule<"add" | "change" | "remove", [], unknown, ESLintUtils.RuleListener>;
};
};
export { _default as default };