@commercelayer/eslint-config-ts-react

1.4.5 • Public • Published

eslint-config-ts-react

Sharable eslint config for React TypeScript projects.

Please refer to @commercelayer/eslint-config-ts to learn more about the configuration (ESLint + JS Standard + Prettier).

How to use

Install ESLinst along with this package.

pnpm install -D eslint @commercelayer/eslint-config-ts-react

Create a new file .eslintrc.json with the following content:

{
  "extends": ["@commercelayer/eslint-config-ts-react"]
}

Add the following scripts to your package.json file:

  "scripts": {
    // ...
    "lint": "eslint src",
    "lint:fix": "eslint src --fix",
    // ...
  },

Check optional steps here.

Package Sidebar

Install

npm i @commercelayer/eslint-config-ts-react

Weekly Downloads

328

Version

1.4.5

License

MIT

Unpacked Size

3.99 kB

Total Files

5

Last publish

Collaborators

  • commercelayer.io
  • drpierlu