Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (33 loc) · 761 Bytes

README.MD

File metadata and controls

49 lines (33 loc) · 761 Bytes

Applied Blockchain eslint configuration

Usage:

Installation:

npm i -D eslint @appliedblockchain/eslint-config

Node Modules

In your project's package.json, use the shorthand syntax

  "eslintConfig": {
    "extends": "@appliedblockchain"
  }

React Projects

In your project's package.json, point to the react config

  "eslintConfig": {
    "extends": "@appliedblockchain/eslint-config/react"
  }

Linting

This project self-lints:

npm i
npm run lint

Releasing

To release a new version, check out the code on your local machine, then:

npm version minor
git push && git push --tags

Where minor is a sensible default for rule changes which will impact existing projects.