@tributebrand/eslint-config-ts-react
v5.1.0
Published
Tribute Brand's ESLint config for using React with TypeScript
Readme
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/parsereslint-plugin-extra-ruleseslint-plugin-importeslint-plugin-jsx-a11yeslint-plugin-reacteslint-plugin-react-hookseslint-plugin-simple-import-sorttypescript
$ npx install-peerdeps -D @tributebrand/eslint-config-ts-react && npm install -DE @tributebrand/eslint-config-ts-react@latestThen 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.
