Skip to content

litarussell/eslint-config

Repository files navigation

@litarussell/eslint-config

npm

Usage

Install

pnpm add -D eslint @litarussell/eslint-config-basic

Config .eslintrc

{
  "extends": [
    "@litarussell/eslint-config"
  ]
}

You don't need .eslintignore normally as it has been provided by the preset.

Add script for package.json

For example:

{
  "scripts": {
    "lint": "eslint ."
  }
}

Config VS Code auto fix

Create .vscode/settings.json

{
  "prettier.enable": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Check Also

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published