npm.io
1.1.1 • Published 2 years ago

@lalo3k/eslint-config

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

  1. In your project folder, run:
    npm i --save-dev @lalo3k/eslint-config
  1. create (or update) a .eslintrc file with the following content, this can also be done in the eslintConfig section of your package.json
{
  'extends': [
    '@lalo3k/eslint-config'
  ]
}
  1. Copy the .prettierrc file from this repository into your project folder

  2. Feel free to override the rules that are not right for your project

Keywords