Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrodyHughes committed Jun 1, 2024
1 parent c26b944 commit fb364af
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions src/graphql/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
module.exports = {
extends: ['../../.eslintrc.js'],
overrides: [
{
files: ['*.graphql'],
parser: '@graphql-eslint/eslint-plugin',
plugins: ['@graphql-eslint'],
rules: {
'@graphql-eslint/description-style': 'error',
'@graphql-eslint/naming-convention': [
'error',
{
OperationDefinition: {
style: 'camelCase',
},
},
],
'@graphql-eslint/no-case-insensitive-enum-values-duplicates': 'error',
'@graphql-eslint/no-hashtag-description': 'error',
'@graphql-eslint/no-typename-prefix': 'error',
'@graphql-eslint/require-deprecation-reason': 'error',
'@graphql-eslint/require-description': ['error', { types: true, DirectiveDefinition: true }],
},
},
],
};
// module.exports = {
// extends: ['../../.eslintrc.js'],
// overrides: [
// {
// files: ['*.graphql'],
// parser: '@graphql-eslint/eslint-plugin',
// plugins: ['@graphql-eslint'],
// rules: {
// '@graphql-eslint/description-style': 'error',
// '@graphql-eslint/naming-convention': [
// 'error',
// {
// OperationDefinition: {
// style: 'camelCase',
// },
// },
// ],
// '@graphql-eslint/no-case-insensitive-enum-values-duplicates': 'error',
// '@graphql-eslint/no-hashtag-description': 'error',
// '@graphql-eslint/no-typename-prefix': 'error',
// '@graphql-eslint/require-deprecation-reason': 'error',
// '@graphql-eslint/require-description': ['error', { types: true, DirectiveDefinition: true }],
// },
// },
// ],
// };

0 comments on commit fb364af

Please sign in to comment.