EslintPlugin
EslintPlugin 会在代码生成后,自动运行 eslint --fix 来格式化代码。
.keqrc.ts
import { EslintPlugin } from '@keq-request/cli/plugins'
export default defineConfig({
outdir: "./src/apis",
modules: {
catService: "file:///absolute/path/to/cat-service-swagger.json",
},
plugins: [new EslintPlugin()],
})