@antd-templater/eslint-config
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@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"]],
    });

Readme

Keywords

Package Sidebar

Install

npm i @antd-templater/eslint-config

Weekly Downloads

7

Version

1.0.3

License

MIT

Unpacked Size

46.3 kB

Total Files

11

Last publish

Collaborators

  • linpengteng