npm.io
1.2.1 • Published 3 years ago

eslint-config-javierscode

Licence
GNU
Version
1.2.1
Deps
19
Size
40 kB
Vulns
1
Weekly
0

My custom ESLint + Prettier configuration

Opinionated linting configuration.
Valid for your JavaScript, TypeScript & React projects.

How to use

  1. Install the dependency

    npm install --save-dev eslint-config-javierscode
  2. Add it to your .eslintrc.json file:

    {
      "extends": [ "eslint-config-javierscode" ]
    }
  3. If you are using TypeScript, extend the TypeScript configuration instead, and point to your tsconfig.json in parserOptions:

     {
     "extends": [
         "eslint-config-javierscode/typescript"
     ],
     "parserOptions": {
         "project": [
         "./tsconfig.json"
         ]
     }
     }

Keywords