6.13.0 • Published 2 months ago

eslint-config-polaris v6.13.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

极星代码规范 eslint-config-polaris

This package provides Polaris's base JS .eslintrc as an extensible shared config.

Installation

Install the correct versions of each package, which are listed by the command:

Which produces and runs a command like:

npm install --save-dev
    @typescript-eslint/eslint-plugin@latest
    @typescript-eslint/parser@latest
    eslint@latest
    eslint-config-prettier@latest
    eslint-plugin-import@latest
    eslint-plugin-prettier@latest
    eslint-plugin-react@latest
    eslint-plugin-react-hooks@latest
    typescript@latest
    prettier@latest

or use npm-install-peers

Useage

In your .eslintrc

  1. With Parser
"parser": "@typescript-eslint/parser"
  1. With Extends
 "extends": ["polaris"]

Configuration

Defaults

"extends": [
  "plugin:import/recommended",
  "plugin:import/typescript",
  "eslint:recommended",
  "plugin:react/recommended",
  "plugin:react-hooks/recommended",
  "plugin:react/jsx-runtime",
  "plugin:prettier/recommended",
  "prettier"
]
6.13.0

2 months ago

6.12.0

2 months ago

6.11.0

2 months ago

6.10.0

3 months ago

6.9.0

3 months ago

6.8.0

3 months ago

6.7.0

3 months ago

6.6.0

3 months ago

6.5.0

4 months ago

6.4.0

4 months ago

6.3.0

4 months ago

6.2.0

4 months ago

6.1.0

5 months ago

6.0.0

5 months ago

5.6.0

5 months ago

5.5.0

6 months ago

5.4.0

6 months ago

5.3.0

6 months ago

5.2.0

6 months ago

5.1.0

6 months ago

5.0.1

7 months ago

5.0.0

7 months ago

4.4.0

8 months ago

4.1.0

8 months ago

4.3.0

8 months ago

4.2.0

8 months ago

4.0.0

9 months ago

3.0.0

10 months ago

2.5.0

11 months ago

2.4.0

11 months ago

2.3.1

1 year ago

2.3.0

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.3

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago