Skip to content

Antd-Templater 的 ESlint Config 插件 (适配 Library-3.x)

License

Notifications You must be signed in to change notification settings

antd-templater/eslint-config

Repository files navigation

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

About

Antd-Templater 的 ESlint Config 插件 (适配 Library-3.x)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published