GBrachetta / eslint-config-gbrachetta

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eslint config with TypeScript support

  1. Install the package

    npm i -D eslint-config-gbrachetta
  2. Add "gbrachetta" to .eslintrc.json

    {
      "extends": [
        // [other extends]
        "gbrachetta"
      ]
    }
  3. If on VSCode, intall the estension Error Lens to display errors.

  4. If you use VSCode and want to lint and format on save, add the following values to settings.json

    {
       "editor.codeActionsOnSave": { "source.fixAll.eslint": true },
       "editor.formatOnSave": true,
    }

About

License:MIT License


Languages

Language:JavaScript 100.0%