@hyoban/eslint-config-react

8.0.2 • Public • Published

@hyoban/eslint-config-react

Use this with prettier, typescript, tailwindcss.

Install

ni -D eslint @hyoban/eslint-config-react

Usage

package.json

{
  "scripts": {
    "lint": "eslint --fix ."
  },
  "eslintConfig": {
    "extends": ["@hyoban/eslint-config-react"]
  }
}

.vscode/settings.json

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "eslint.validate": ["typescript", "typescriptreact"],
  "typescript.preferences.importModuleSpecifier": "non-relative",

  // optional
  "eslint.workingDirectories": ["./packages/web"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @hyoban/eslint-config-react

Weekly Downloads

0

Version

8.0.2

License

MIT

Unpacked Size

3.29 kB

Total Files

4

Last publish

Collaborators

  • hyoban