1.0.1 • Published 5 years ago
eslint-plugin-zjlab v1.0.1
eslint-config-zjlab
Shared eslint config for zhejianglab front end applications related JS projects.
Versioning
This project follows the semantic versioning specification.
In order to release a new version, please follow these steps:
- Make sure your local
masterbranch is up-to-date. Run the following command from the
masterbranch to (1) bump the version accordingly and (2) create a commit and a tag for the release:npm version minorNote: change
minortopatchormajordepending on the release (butminoris the most frequent).Push to the main repository (denoted
upstreambelow):git push upstream master --tagCreate a GitHub Release for the new tag. Please add a short description of the changes (see the other releases for inspiration).
Install
$ yarn add eslint-plugin-zjlab -DUsage
create .eslintrc.json file like:
for web project:
{
"extends": ["plugin:zjlab/all"]
}for mobile project:
{
"extends": ["plugin:zjlab/mobile"]
}