1.0.6 • Published 1 year ago

@antd-templater/eslint-config v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago