eslint-plugin-apollo
learning development of the rules
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-apollo
:
npm install eslint-plugin-apollo --save-dev
Usage
Add apollo
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"apollo"
]
}