@tealink/eslint-plugin

3.0.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @tealink/eslint-plugin

Weekly Downloads

14

Version

3.0.0

License

MIT

Unpacked Size

6.9 kB

Total Files

7

Last publish

Collaborators

  • jakobgn