@naporin0624/eslint-config

0.14.2 • Public • Published

@naporin0624/eslint-config

Usage

neverthrow を使用しているので install する

https://github.com/supermacro/neverthrow#recommended-use-eslint-plugin-neverthrow

npm install neverthrow

.eslintrc.json

{
  "extends": ["@naporin0624/eslint-config"]
}

package.json

"fmt:prettier": "prettier --write src",
"fmt:eslint": "eslint --cache --ext .ts,.tsx --fix src",
"lint": "eslint --cache --ext .ts,.tsx src"

Use default and react config.

.eslintrc.json

{
  "extends": ["@naporin0624/eslint-config", "@naporin0624/eslint-config/react"],
  "rules": {
    "react/react-in-jsx-scope": "off"
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @naporin0624/eslint-config

Weekly Downloads

24

Version

0.14.2

License

MIT

Unpacked Size

8.05 kB

Total Files

4

Last publish

Collaborators

  • naporin0624