eslint-config-sensu-relay
v1.3.0
Published
Sensu's ESLint config (for use with react-relay.)
Downloads
9
Maintainers
Readme
eslint-config-sensu-relay
This package provides Sensu's Relay ESLint settings as an extensible configuration.
Usage
First, add the package to your project.
yarn add --dev eslint eslint-config-sensu-relay
# or with npm
npm install --save-dev eslint eslint-config-sensu-relay
If you did not already have an .eslintrc
file you can add one.
./node_modules/.bin/eslint --init
Finally, add the following to your .eslintrc
.
{
"extends": [
"sensu",
"sensu-relay"
]
}
graphql-config
The plugin assumes that you have a .graphqlrc
file present. See
graphql-config for more
details on it's options.
{
"schemaPath": "schema.graphql",
"includes": ["*.graphql"],
"excludes": ["tmp/**"]
}