0.0.3 • Published 4 years ago

@jlamarr22/eslint-config-discovery v0.0.3

Weekly downloads
1
License
UNLICENSED
Repository
github
Last release
4 years ago

eslint-config-discovery

Discovery web component linting configuration

Run the following to get started

Todo:

Change scoped org from @jlamarr22 to @discovery once people signoff

npm

> npm install --save-dev eslint
> npm install --save-dev @discovery/eslint-config-discovery

yarn

> yarn add --dev eslint
> yarn add --dev @discovery/eslint-config-discovery

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

{
	"extends": "@discovery/discovery"
}

Add a script to your package.json for linting

{
	"scripts": {
	    "lint" : "eslint --ext .ts,.component.html src/app",
	}
}