@graphql-eslint/eslint-plugin 3.0.0-alpha-698204a.0 → 3.0.0-alpha-2918431.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,9 +30,8 @@ declare type NamingConventionRuleConfig = {
30
30
  allowTrailingUnderscore?: boolean;
31
31
  types?: Options;
32
32
  fields?: Options;
33
- overrides?: {
34
- [key in `${AllowedKind}${string}`]?: Options;
35
- };
33
+ } & {
34
+ [key in `${AllowedKind}${string}`]?: Options;
36
35
  };
37
36
  declare const rule: GraphQLESLintRule<[NamingConventionRuleConfig]>;
38
37
  export default rule;
@@ -1,5 +1,5 @@
1
1
  import { GraphQLESLintRule } from '../types';
2
- declare const ROOT_TYPES: ('query' | 'mutation' | 'subscription')[];
2
+ declare const ROOT_TYPES: ('mutation' | 'subscription')[];
3
3
  declare type NoRootTypeConfig = {
4
4
  disallow: typeof ROOT_TYPES;
5
5
  };
@@ -4,9 +4,8 @@ declare const ALLOWED_KINDS: readonly [Kind.OBJECT_TYPE_DEFINITION, Kind.INTERFA
4
4
  declare type AllowedKind = typeof ALLOWED_KINDS[number];
5
5
  declare type RequireDescriptionRuleConfig = {
6
6
  types?: boolean;
7
- overrides?: {
8
- [key in AllowedKind]?: boolean;
9
- };
7
+ } & {
8
+ [key in AllowedKind]?: boolean;
10
9
  };
11
10
  declare const rule: GraphQLESLintRule<[RequireDescriptionRuleConfig]>;
12
11
  export default rule;