eslint-config-smashing-boxes
ESLint shareable config for Smashing Boxes' JavaScript Style Guide
Installation
npm install --save-dev eslint eslint-config-smashing-boxes
Usage
Once the eslint-config-smashing-boxes
package is installed, you can use it by specifying smashing-boxes
or eslint-config-smashing-boxes
in the extends
section of your ESLint configuration.
{
"extends": "smashing-boxes",
"rules": {
}
}
React
For usage in a React project you will need to install the eslint-plugin-react
:
npm install --save-dev eslint-plugin-react
Change the "extends"
value to "extends": "smashing-boxes/react"
or "extends": "eslint-config-smashing-boxes/react"
{
"extends": "smashing-boxes/react",
"rules": {
License
MIT