0.0.5 • Published 11 months ago

@quiteer/eslint-config v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

@quiteer/eslint-config

Install

pnpm add -D eslint @quiteer/eslint-config

Config .eslintrc

{
  "extends": "@quiteer"
}

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

Add script for package.json

For example:

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}

Config VS Code auto fix

Install VS Code ESLint extension and create .vscode/settings.json

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

11 months ago

0.0.3

2 years ago

0.0.2

2 years ago