1.0.0 • Published 3 years ago
eslint-config-xinju v1.0.0
eslint-config-xinju
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
master
branch is up-to-date. Run the following command from the
master
branch to (1) bump the version accordingly and (2) create a commit and a tag for the release:npm version minor
Note: change
minor
topatch
ormajor
depending on the release (butminor
is the most frequent).Push to the main repository (denoted
upstream
below):git push upstream master --tag
Create 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-config-xinju -D
Usage
create .eslintrc.json
file like:
for web project:
{
"extends": ["xinju", "xinju/all"]
}
for mobile project:
{
"extends": ["xinju", "xinju/mobile"]
}
1.0.0
3 years ago