A dummy plugin for testing
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-my-test
:
npm install eslint-plugin-my-test --save-dev
Add my-test
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"my-test"
]
}