Licence
ISC
Version
1.1.1
Deps
1
Size
7 kB
Vulns
0
Weekly
0
ESLint config
These are settings for ESLint that I use in my projects.
What it does
Semi-strict linting rules, to ensure consistency in file structure, formatting and coding style
Setup
- In your project folder, run:
npm i --save-dev @lalo3k/eslint-config
- create (or update) a
.eslintrcfile with the following content, this can also be done in theeslintConfigsection of your package.json
{
'extends': [
'@lalo3k/eslint-config'
]
}
Copy the .prettierrc file from this repository into your project folder
Feel free to override the rules that are not right for your project