@jlamarr22/eslint-config-discovery
v0.0.3
Published
eslint config for use in Discovery Angular microfrontends
Downloads
2
Maintainers
Readme
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",
}
}