npm.io
10.3.3 • Published 3 months ago

@frosas/eslint-config

Licence
MIT
Version
10.3.3
Deps
10
Size
8 kB
Vulns
0
Weekly
0

My usual ESLint config

Setup

$ npm i -D @frosas/eslint-config

Copy the project-specific files and edit them as needed:

$ cp -a node_modules/@frosas/eslint-config/project-files/. .

Integrate it into the project development workflow. For example, in your package.json:

{
  "scripts": {
    "lint": "eslint .",
    "test": "npm run lint && ..."
  }
}

Contributing

  • Make the changes
  • Optionally, test the changes from another project (e.g., npm install .../eslint-config)
  • Update CHANGELOG.md
  • npm version <major | minor | patch>
  • npm publish [--tag next]