@luckrya/eslint-config-react

0.1.1 • Public • Published

@luckrya/eslint-config-react

Integration of some react rule sets, please refer to Rules below

Installation

$ pnpm add -D @luckrya/eslint-config-react

Usage

.eslintrc.js

module.exports = {
  extends: ["@luckrya/react"],
};
{
  "scripts": {
    "lint": "eslint . --ext .tsx,.ts" // or eslint .
  }
}

Rules

- "@luckrya/base"
- "plugin:react/recommended"
- "plugin:react-hooks/recommended"
- "plugin:jsx-a11y/recommended"
- "plugin:prettier/recommended"

Package Sidebar

Install

npm i @luckrya/eslint-config-react

Weekly Downloads

5

Version

0.1.1

License

MIT

Unpacked Size

7.57 kB

Total Files

9

Last publish

Collaborators

  • cllemon
  • luckya