eslint-config-leadfisher

1.3.0 • Public • Published

ESLint config for leadfisher projects

1. Install ESLint, this config and required plugins:

npm i -D eslint prettier eslint-plugin-import eslint-config-leadfisher eslint-config-prettier eslint-plugin-prettier

2. Add "extends": ["leadfisher"] to your .eslintrc.

3. (optional) Add following scripts

{
  "scripts": {
    "lint": "eslint . && prettier --check \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\"",
    "fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\"",
    "test": "npm run -s lint"
  }
}

Copyright & contributors

Copyright © 2023 Leadfisher contributors. Eslint-config-leadfisher is MIT licensed license.
Eslint-config-leadfisher is one of leadfisher solutions.

Package Sidebar

Install

npm i eslint-config-leadfisher

Weekly Downloads

2

Version

1.3.0

License

MIT

Unpacked Size

8.29 kB

Total Files

14

Last publish

Collaborators

  • sashapop10