Skip to content

Applied Blockchain shared default eslint rules for JS projects

Notifications You must be signed in to change notification settings

appliedblockchain/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.