ed4ce42237
- 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
15 lines
323 B
Plaintext
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"]
|
|
}
|
|
}
|