2.0.2 • Published 5 years ago

eslint-config-eq-author v2.0.2

Weekly downloads
441
License
ISC
Repository
github
Last release
5 years ago

eslint-config-eq-author

Shared config for eq-author projects.

Installation

yarn add eslint-config-eq-author

Usage

There are two configs available in this repo - one general (eslint-config-eq-author), and one react-specific (eslint-config-eq-author/react). Use one or both, depending on your needs.

They should be added to the extends section of your eslint config, like so:

{
  "extends": [
    "eslint-config-eq-author",
    "eslint-config-eq-author/react"
  ]
}

Releasing

TODO: automate this

git checkout master
yarn version # enter new version
git push origin master --tags
npm publish

These commands perform the following actions:

  • Switch to master
  • Bump version number in package.json
  • Commit changes to package.json
  • Create git tag for that version
  • Push changes and tag to github
  • Publish to npm