/eslint-plugin-lint-erb

Lint *.js.erb files

Primary LanguageJavaScript

eslint-plugin-lint-erb

Allow eslinting, erb files.

Installation

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

Usage

Add lint-erb to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["lint-erb"]
}