@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-devNext, install @tealink/eslint-plugin:
$ npm install @tealink/eslint-plugin --save-devUpdating 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=rcUse 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=rcUse the following command to create a new release
npm version minorreplace minor with the correct version: major, minor or patch
Push tags to git with the following command:
git push origin --tagsOr set git to push tags automatically
git config --global push.followTags true4 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
5 years ago
5 years ago
5 years ago