Allow eslinting, erb files.
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, add the following to your package.json
"eslint-plugin-lint-erb": "https://github.com/sleede/eslint-plugin-lint-erb"
Finally, run yarn
to install the package
Add lint-erb
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["lint-erb"]
}