eslint-config-karasu

0.1.9 • Public • Published

eslint-config-karasu

npm

  • Single quotes & semi
  • Auto fix for formatting (aimed to be used standalone without Prettier)

Usage

Install

pnpm add -D eslint eslint-config-karasu

Config .eslintrc

{
  "extends": "karasu"
}

Config VS Code auto fix

Create .vscode/settings.json

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

Config WebStorm auto fix

Tools > Actions on Save

  • [x] Run EsLint --fix
  • [ ] Run Prettier

License

MIT

Package Sidebar

Install

npm i eslint-config-karasu

Weekly Downloads

2

Version

0.1.9

License

MIT

Unpacked Size

5.36 kB

Total Files

4

Last publish

Collaborators

  • karasu.shin