joyent-portal/packages/cloudapi-gql/.eslintrc
Sérgio Ramos ed4ce42237 feat(gql-cloudapi): template tag schema re-write
- uniform api usage for some models (account/user, networks/vlans/fabrics, etc)
 - graphidoc, playground, faker, and voyager support
 - schema in a template tag and documented
 - apollo-errors
 - apollo-server-hapi and schema using graphql-tools/makeExecutableSchema
 - replace express with Hapi
 - eslint support for graphql
 - updated dependencies
2017-10-03 14:59:22 +01:00

15 lines
323 B
Plaintext

{
"extends": "joyent-portal",
"plugins": ["graphql"],
"rules": {
"graphql/template-strings": ["error", {
"env": "apollo"
}],
"graphql/named-operations": ["error"],
"graphql/required-fields": ["error", {
"requiredFields": ["id"]
}],
"graphql/capitalized-type-name": ["error"]
}
}