3005.310.1 • Published 1 month ago

@springworks/eslint-config v3005.310.1

Weekly downloads
-
License
-
Repository
github
Last release
1 month ago

@springworks/eslint-config

eslint rules for typescript projects

yarn add -D @springworks/eslint-config eslint

After adding the dependencies, add a config (.eslintrc.json) in the root of the project with this content:

{
  "extends": "@springworks/eslint-config"
}

Or update package.json and include:

{
  "eslintConfig": {
    "extends": "@springworks/eslint-config"
  }
}

Some useful scripts to add to package.json:

{
  "scripts": {
    "lint": "eslint --cache .",
    "lint-fix": "eslint --quiet --fix ."
  }
}