@luke358/eslint-config-monorepo

0.1.3 • Public • Published

@luke358/eslint-config

npm

  • eslint monorepo

Usage

Install

pnpm add -D eslint @luke358/eslint-config

Config .eslintrc

{
  "extends": "@luke358"
}

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

Readme

Keywords

Package Sidebar

Install

npm i @luke358/eslint-config-monorepo

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

69.1 kB

Total Files

57

Last publish

Collaborators

  • luke358