Shared eslint config for zhejianglab front end applications related JS projects.
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
to patch
or major
depending on the release (but minor
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).
$ yarn add eslint-config-xinju -D
create .eslintrc.json
file like:
for web project:
{
"extends": ["xinju", "xinju/all"]
}
for mobile project:
{
"extends": ["xinju", "xinju/mobile"]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。