Skip to content

Releases: LeadFisherSolutions/eslint-config-leadfisher

v1.3.0

02 Jun 19:08
Compare
Choose a tag to compare

v1.3.0 - 2023-06-02

  • package.json files

v1.1.0

14 May 14:51
Compare
Choose a tag to compare

1.1.0 - 2023-05-14

  • CHANGELOG.md
  • CONTRIBUTING.md
  • .npmignore

v1.0.0

13 May 20:06
Compare
Choose a tag to compare

[Node js] 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"
  }
}