1.5.3 • Published 4 months ago

eslint-config-gbrachetta v1.5.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

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,
    }