@tealink/eslint-plugin v3.0.0
@tealink/eslint-plugin
eslint configuration for tealink
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install @tealink/eslint-plugin
:
$ npm install @tealink/eslint-plugin --save-dev
Updating rules
When updating rules, make sure to generate new full rule sets, so the effective rule changes are included in the commit
request. This can be done with npm run generate
.
Usage
Add @tealink/eslint-plugin
to the plugins section of your .eslintrc.js
configuration file:
module.exports = { extends: ['plugin:@tealink/eslint-plugin/react'] };
or
module.exports = { extends: ['plugin:@tealink/eslint-plugin/node'] };
Versioning
To create a prerelease use the following command:
npm version preminor --preid=rc
Use premajor
, preminor
or prepatch
to bump to the right version. Use prerelease
to bump the release candiate number.
To bumb the prerelease number use the following command:
npm version prerelease --preid=rc
Use the following command to create a new release
npm version minor
replace minor
with the correct version: major
, minor
or patch
Push tags to git with the following command:
git push origin --tags
Or set git to push tags automatically
git config --global push.followTags true
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago