1.0.8 • Published 1 year ago

@digitalinsurance/eslint-config-dig v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@digitalinsurance/eslint-config-dig

Table of contents

  1. About The Project
  2. Getting Started
  3. Releasing a new version

About The Project

Here to provide the eslint rules for the Digital Insurance Group.

Getting Started

To get the rules to work in your project follow these simple steps.

Prerequisites

  1. Node
  2. NPM

Installation

  1. Install the package
    npm install @digitalinsurance/eslint-config-dig
  2. Make sure there is a babel.config.js file on the root level of your project, same level as your package.json
  3. In your package.json add the following:
    "eslintConfig": {
      "extends": [
        "@digitalinsurance/eslint-config-dig"
      ],
    }

Releasing a new version

  1. Make your changes.
  2. Increase the version number in the package.json according to semver.
  3. Commit and push your changes to a feature branch.
  4. Make a merge request to the master branch.
  5. Once it is merged a new version will be released and you can check it here: https://www.npmjs.com/package/@digitalinsurance/eslint-config-dig.