@tributebrand/eslint-config-ts-react

5.1.0 • Public • Published

eslint-config-ts-react

This plugin provides Tribute Brand's .eslintrc as an extensible shared config, based on Airbnb's eslint-config-airbnb.

Installation

The plugin requires eslint and the following other packages:

  • @mizdra/eslint-plugin-layout-shift
  • @typescript-eslint/eslint-plugin
  • @typescript-eslint/parser
  • eslint-plugin-extra-rules
  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  • eslint-plugin-simple-import-sort
  • typescript
$ npx install-peerdeps -D @tributebrand/eslint-config-ts-react && npm install -DE @tributebrand/eslint-config-ts-react@latest

Then add "extends": "@tributebrand/eslint-config-ts-react" to your .eslintrc file.

Since install-peerdeps doesn't have a flag to pin the exact version of the installed peer dependencies it's advisable to pin the installed versions in package.json by hand.

Package Sidebar

Install

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

Weekly Downloads

1

Version

5.1.0

License

MIT

Unpacked Size

40.1 kB

Total Files

10

Last publish

Collaborators

  • igor-tribute
  • tomislav_s