@lalo3k/eslint-config
v1.1.1
Published
These are settings for ESLint and Prettier that I use in my projects.
Downloads
4
Readme
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
.eslintrc
file with the following content, this can also be done in theeslintConfig
section 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