eslint-plugin-maple-inside
ESLint rules from Maple Inside's conventions.
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-config-maple-inside
:
npm install eslint-config-maple-inside --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-config-maple-inside
globally.
Usage
Our default export contains all of our ESLint rules
, including ECMAScript 6+
and React
.
It requires babel-eslint
, eslint
, eslint-plugin-babel
and eslint-plugin-react
.
Add maple-inside
to the extends
section of your .eslintrc
configuration file.
You can omit the eslint-config-
prefix:
{
"extends": "maple-inside"
}