eslint-config-livenation
v1.0.8
Published
Shared ESLint configuration for Live Nation
Downloads
807
Readme
eslint-config-livenation
Install
Add this package to your project.
yarn add eslint eslint-config-livenation --dev
and add a lint
script to your package.json
{
"scripts": {
"lint": "eslint [folder_name]",
...
}
}
Create a .eslintrc.json
file in the root folder.
{
"extends": "livenation"
}
Configuring VSCode
To make VSCode aware of the files it needs to lint, you need to add the following line to your VSCode settings.
"eslint.validate": [ "javascript", "javascriptreact", "html", "typescript", "typescriptreact" ],