@antd-templater/eslint-config
v1.0.7
Published
ESlint Config Plugin of Antd-Templater
Downloads
100
Readme
@antd-templater/eslint-config
- Antd-Templater 的 ESlint Config 插件
- Only Support ESlint v9.x
How to Use it
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"]], });