@vermilion/eslint-config
v4.0.0
Published
An ESLint config with Airbnb-style JavaScript, React, and Prettier baked-in.
Downloads
3
Keywords
Readme
⚙️ eslint-config
An ESLint config with Airbnb-style JavaScript, React, and Prettier baked-in.
🔗 Installation
Install via npm
:
yarn add -D @vermilion/eslint-config
Ensure you also have the required peerDependencies
installed:
yarn add -D babel-eslint@^8.2.0 eslint@^4.17.0 eslint-plugin-import@^2.7.0 eslint-plugin-jsx-a11y@^6.0.2 eslint-plugin-react@^7.4.0 eslint-plugin-prettier@^2.3.1 prettier@^1.7.4
🛠️ Usage
In .eslintrc
:
{
"extends": "@vermilion/eslint-config"
}
⚡ Configuration
Rules
Plugins
- From
eslint-config-airbnb
: eslint-plugin-prettier
🗜️ Versioning
+————— Major version is synchronized with ESLint's major version.
| +——— Minor version has BREAKING CHANGES or features.
| | +— Patch version has non-breaking changes.
| | |
x.x.x