eslint-config-wildbit

2.0.1 • Public • Published

eslint-config-wildbit

Wildbit-specific config for ESLint

Installation

  1. npm install --save-dev eslint eslint-plugin-react wildbit/eslint-config-wildbit
  2. Add following block to package.json
"eslintConfig"{
    "extends": [
      "eslint-config-wildbit"
    ]
  }

Adding a pre-commit hook

Linting makes more sense when running before committing the code.

To add a pre-commit task:

  1. npm install -D pre-commit lint-staged
  2. Add "eslint-staged": "eslint-staged" to scripts section of package.json
  3. Add "pre-commit": [ "eslint-staged" ] to package.json

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.1
    6
  • 2.0.0
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i eslint-config-wildbit

Weekly Downloads

8

Version

2.0.1

License

MIT

Last publish

Collaborators

  • okonet