eslint-plugin-wantedly
Installation
npm install --save eslint-plugin-wantedly
# or
yarn add eslint-plugin-wantedly
This plugin provides the opinionated rules in Wantedly.
List of supported rules
-
wantedly/graphql-operation-name
- Enfoces consistent naming convention for GraphQL Operation Name in
gql
tag
- Enfoces consistent naming convention for GraphQL Operation Name in
-
wantedly/graphql-pascal-case-type-name
- Check the type name which is PascalCase in
gql
tag
- Check the type name which is PascalCase in
-
wantedly/nexus-camel-case-field-name
- Check the field name which is camelCase if the code using
nexus
- Check the field name which is camelCase if the code using
-
wantedly/nexus-pascal-case-type-name
- Check the type name which is PascalCase if the code using
nexus
- Check the type name which is PascalCase if the code using
-
wantedly/nexus-upper-case-enum-members
- Check the enum members are UPPER_CASE if the code using
nexus
- Check the enum members are UPPER_CASE if the code using
-
wantedly/nexus-type-description
- Validate that the types have descriptions if the code using
nexus
- Validate that the types have descriptions if the code using