@jlamarr22/eslint-config-discovery

0.0.3 • Public • Published

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",
	}
}

Dependencies (9)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @jlamarr22/eslint-config-discovery

    Weekly Downloads

    4

    Version

    0.0.3

    License

    UNLICENSED

    Unpacked Size

    8.68 kB

    Total Files

    3

    Last publish

    Collaborators

    • jlamarr22