1.10.0 • Published 3 years ago
eslint-config-manpacker-react v1.10.0
Explain
This project uses parser "babel-eslint" And plugin "react". Inherits "manpacker"
Install
npm install eslint -D
npm install eslint-config-manpacker-react -D
Usage
- Add .eslintrc file to your project. Or .eslintrc file does not exist, Create a new file.
npx eslint --init
Configuration content of file.
{
"extends": ["manpacker-react"]
}
- You can add a configuration entry to the package.json file as follows.
"eslintConfig": {
"extends": ["manpacker-react"]
}
Refer to the following configuration. Example:
"eslintConfig": {
"root": true,
"extends": ["manpacker-react"],
"rules": {}
}