transloadit / eslint-config-transloadit

Transloadit eslint rules
MIT License
2 stars 1 forks source link

eslint-config-transloadit

Transloadit eslint rules

eslint-config-airbnb, with a dash of standard and a pinch of transloadit 🤏

Installing

  1. Install the correct versions of each package, which are listed by the command:

    npm info "eslint-config-transloadit@latest" peerDependencies

    If using npm 5+, use this shortcut

    npx install-peerdeps --dev eslint-config-transloadit

    If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly.

  2. npm install --save-dev eslint-config-transloadit

  3. Add "extends": "transloadit" to your .eslintrc

See also eslint-config-airbnb

Version 2

Newly enforced rules

When upgrading to v2, these can be overridden and set to warn in consuming projects at first:

No longer enforced rules

off/warn-overrides for these inside consuming projects can be deleted:

See also https://github.com/transloadit/eslint-config-transloadit/pull/12/commits/2200e5f227dcc3893d5d81a80ca35e546c43bc06

Version 3

Breaking changes

Releasing