@tributebrand/eslint-config-react
v5.0.1
Published
Tribute Brands's ESLint config for using React
Readme
eslint-config-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, @babel/core, @babel/eslint-parser, and the following other packages:
@mizdra/eslint-plugin-layout-shifteslint-plugin-extra-ruleseslint-plugin-importeslint-plugin-jsx-a11yeslint-plugin-jsx-control-statementseslint-plugin-reacteslint-plugin-react-hookseslint-plugin-simple-import-sort
If you don't need React, see eslint-config. For React with TypeScript see eslint-config-ts-react.
$ npx install-peerdeps -D @tributebrand/eslint-config-react && npm install -DE @tributebrand/eslint-config-react@latestThen add "extends": "@tributebrand/eslint-config-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.
