eslint-plugin-bi1lqv

bi1lqv's ESLint config presets


License
MIT
Install
npm install eslint-plugin-bi1lqv@0.26.11

Documentation

@bi1lqv/eslint-config

Usage

Install

pnpm add -D eslint @bi1lqv/eslint-config

Config .eslintrc

{
  "extends": "@bi1lqv"
}

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

Create .vscode/settings.json

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

License

MIT License © 2019-PRESENT Anthony Fu

MIT License © 2022-PRESENT BI1LQV