- Antd-Templater 的 ESlint Config 插件
- Only Support ESlint v9.x
-
Install
pnpm add @antd-templater/eslint-config
-
Usage
a. Using (default)
import templater from '@antd-templater/eslint-config' export default [ ...templater.configs['flat/recommended'], // eg. .... { { rules: { // Custom rules } } } ]
b. Using by tseslint
import tseslint from "typescript-eslint"; import templater from "@antd-templater/eslint-config"; export default tseslint.config({ extends: [...templater.configs["flat/recommended"]], });