4.0.1 • Published 9 months ago
eslint-plugin-wantedly v4.0.1
eslint-plugin-wantedly 
Rule details
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
Installation
npm install --save eslint-plugin-wantedly
# or
yarn add eslint-plugin-wantedly
Usage
With "Flat Config"
import pluginWantedly from "eslint-plugin-wantedly";
export default [
{
plugins: {
wantedly: pluginWantedly,
},
rules: {
"wantedly/graphql-pascal-case-type-name": ["error", { autofix: true }],
},
},
];
With "Legacy Config"
{
"plugins": ["wantedly"],
"rules": {
"wantedly/graphql-pascal-case-type-name": ["error", { "autofix": true }]
}
}
4.0.1
9 months ago
4.0.0
9 months ago
3.2.2
2 years ago
3.0.0
3 years ago
2.8.1
4 years ago
2.8.0
4 years ago
2.7.1
4 years ago
2.6.0
4 years ago
2.5.0
4 years ago
2.4.0
5 years ago
2.3.0
5 years ago
2.2.8
5 years ago
2.2.7
5 years ago
2.2.6
5 years ago
2.2.5
5 years ago
2.2.4
5 years ago
2.2.3
5 years ago
2.2.2
5 years ago
2.2.1
5 years ago
2.2.0
5 years ago
2.1.4
5 years ago
2.1.3
5 years ago
2.1.2
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.9.13
5 years ago
0.9.12
5 years ago
0.9.11
5 years ago
0.9.10
5 years ago
0.9.9
5 years ago
0.9.8
5 years ago
0.9.7
5 years ago
0.9.6
5 years ago
0.9.5
5 years ago
0.9.4
5 years ago
0.9.3
5 years ago
0.9.2
5 years ago
0.9.1
5 years ago
0.9.0
5 years ago