4.0.2 • Published 3 years ago

@blockone/eslint-config-blockone v4.0.2

Weekly downloads
76
License
UNLICENSED
Repository
github
Last release
3 years ago

eslint-config-blockone

EOSIO js linting configuration

Run the following to get started

npm

> npm install --save-dev eslint
> npm install --save-dev eslint-plugin-no-exclusive-tests
> npm install --save-dev @blockone/eslint-config-blockone

yarn

> yarn add --dev eslint
> yarn add --dev eslint-plugin-no-exclusive-tests
> yarn add --dev @blockone/eslint-config-blockone

Add the following to your .eslintrc or .eslintrc.json

{
	"extends": "@blockone/blockone"
}

Add a script to your package.json for linting

{
	"scripts": {
	    "lint" : "eslint --ext .js,.jsx,.ts,.tsx src",
	}
}