@selvklart/eslint-config

2.0.0 • Public • Published

@selvklart/eslint-config

ESLint shareable config used internally at Norwegian company Selvklart AS.

Installation

npm install --save-dev eslint @selvklart/eslint-config

Usage

React

{
  "extends": "@selvklart/eslint-config/react",
}

Other projects

Once the @selvklart/eslint-config package is installed, you can use it by specifying @selvklart/eslint-config in the extends section of your ESLint configuration.

{
  "extends": "@selvklart/eslint-config",
  "rules": {
    // Additional, per-project rules...
  }
}

Deployment

Deployment is simple enough that we don't bother with any automation of the process. Just merge your changes to master and use the built in npm tools to tag the new version and publish it. Just remember to push the tag to GitHub when you're done.

npm version vX.X.X
npm publish
git push --tags origin master

Choose a new version number appropriate for your changes, but remember to use semantic versioning. Any changes to the config that are likely to flag errors in code that passed previously should bump the major version.

This means you can usually relax or remove rules while only bumping the minor version, but you should not add a new rule or make an existing one stricter without also bumping the major version.

License

ISC © Selvklart AS

Readme

Keywords

Package Sidebar

Install

npm i @selvklart/eslint-config

Weekly Downloads

43

Version

2.0.0

License

ISC

Unpacked Size

10.6 kB

Total Files

4

Last publish

Collaborators

  • jostein-selvklart
  • brunoatselvklart
  • tafkolstad
  • wien
  • joakim.selvklart
  • sanders54