1.0.1 • Published 3 years ago
@modohockey/eslint-config-eslint-react v1.0.1
@modohockey/eslint-react
Extendable ESLint configuration.
Installation
yarn add @modohockey/eslint-config-eslint-react -D
Peer dependencies
{
"@babel/eslint-parser": "^7.18.2",
"@calm/eslint-plugin-react-intl": "^1.4.1",
"@modohockey/prettier": "^1.0.0",
"eslint": "^8.0.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-prettier": "^4.0.0"
}
With Create React App
Exclude eslint
, @babel/eslint-parser
and eslint-config-react-app
from the peer dependencies shell above.
Usage
Extend @modohockey/eslint-react
in the ESLint configuration. Also make sure to setup and install @modohockey/prettier
and its peer dependencies.
module.exports = {
extends: ['@modohockey/eslint-react']
};