1.0.11 • Published 3 years ago
@hv/eslint-config v1.0.11
ESLint configuration
(hopefully) common ESLint and Prettier configuration for hv :-)
Usage
Installation:
npm add -D eslint @hv/eslint-configEither set it in project's package.json:
"eslintConfig": {
"extends": "@hv/eslint-config"
}or create a eslintrc.* file and define it there:
{
"extends": [
"@hv/eslint-config"
]
}You might also want to add the following scripts to the package.json so you're able to quickly run it via npm lint or npm lint:fix:
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},