File tree 8 files changed +1507
-47
lines changed
8 files changed +1507
-47
lines changed Original file line number Diff line number Diff line change 9
9
node : [18, 20]
10
10
name : Linting on Ubuntu with Node ${{ matrix.node }}
11
11
steps :
12
- - uses : actions/checkout@v3
13
- - uses : actions/setup-node@v3
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
14
with :
15
15
node-version : ${{ matrix.node }}
16
16
cache : ' npm'
Original file line number Diff line number Diff line change 1
1
name : prettier
2
2
run-name : Installs project and runs prettier checks
3
- on : [ push, pull_request ]
3
+ on : [push, pull_request]
4
4
jobs :
5
- lint :
6
- runs-on : ubuntu-latest
7
- strategy :
8
- matrix :
9
- node : [ 18, 20 ]
10
- name : Prettier on Ubuntu with Node ${{ matrix.node }}
11
- steps :
12
- - uses : actions/checkout@v3
13
- - uses : actions/setup-node@v3
14
- with :
15
- node-version : ${{ matrix.node }}
16
- cache : ' npm'
17
- - run : npm install
18
- - run : npm run format
5
+ lint :
6
+ runs-on : ubuntu-latest
7
+ strategy :
8
+ matrix :
9
+ node : [18, 20]
10
+ name : Prettier on Ubuntu with Node ${{ matrix.node }}
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
+ with :
15
+ node-version : ${{ matrix.node }}
16
+ cache : ' npm'
17
+ - run : npm install
18
+ - run : npm run format
Original file line number Diff line number Diff line change 1
1
name : run-tests
2
2
run-name : Installs project and runs tests
3
- on : [ push, pull_request ]
3
+ on : [push, pull_request]
4
4
jobs :
5
- run-tests-nix :
6
- runs-on : ubuntu-latest
7
- strategy :
8
- matrix :
9
- node : [ 18, 20 ]
10
- name : Run tests on Ubuntu with Node ${{ matrix.node }}
11
- steps :
12
- - uses : actions/checkout@v3
13
- - uses : actions/setup-node@v3
14
- with :
15
- node-version : ${{ matrix.node }}
16
- cache : ' npm'
17
- - run : npm install
18
- - run : npm run test
19
- run-tests-win :
20
- runs-on : windows-latest
21
- strategy :
22
- matrix :
23
- node : [ 18, 20 ]
24
- name : Run tests on Windows with Node ${{ matrix.node }}
25
- steps :
26
- - uses : actions/checkout@v3
27
- - uses : actions/setup-node@v3
28
- with :
29
- node-version : ${{ matrix.node }}
30
- cache : ' npm'
31
- - run : npm install
32
- - run : npm run test
5
+ run-tests-nix :
6
+ runs-on : ubuntu-latest
7
+ strategy :
8
+ matrix :
9
+ node : [18, 20]
10
+ name : Run tests on Ubuntu with Node ${{ matrix.node }}
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
+ with :
15
+ node-version : ${{ matrix.node }}
16
+ cache : ' npm'
17
+ - run : npm install
18
+ - run : npm run test
19
+ run-tests-win :
20
+ runs-on : windows-latest
21
+ strategy :
22
+ matrix :
23
+ node : [18, 20]
24
+ name : Run tests on Windows with Node ${{ matrix.node }}
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+ - uses : actions/setup-node@v4
28
+ with :
29
+ node-version : ${{ matrix.node }}
30
+ cache : ' npm'
31
+ - run : npm install
32
+ - run : npm run test
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { NO_SEMI_ANTI_JOIN_SUPPORTED_RULE_ID } from '../rules/graphql/no-semi-an
14
14
import { NO_MORE_THAN_1_PARENT_RECORD_RULE_ID } from '../rules/graphql/no-more-than-1-parent-record.js' ;
15
15
import { NO_MORE_THAN_3_CHILD_ENTITIES_RULE_ID } from '../rules/graphql/no-more-than-3-child-entities.js' ;
16
16
import { NO_MORE_THAN_3_ROOT_ENTITIES_RULE_ID } from '../rules/graphql/no-more-than-3-root-entities.js' ;
17
+ import { NO_MORE_THAN_100_FIELDS_RULE_ID } from '../rules/graphql/no-more-than-100-fields.js' ;
17
18
import { createScopedModuleRuleName } from '../util/rule-helpers.js' ;
18
19
19
20
export = {
@@ -41,6 +42,7 @@ export = {
41
42
[ createScopedModuleRuleName ( NO_MORE_THAN_1_PARENT_RECORD_RULE_ID ) ] : 'warn' ,
42
43
[ createScopedModuleRuleName ( NO_MORE_THAN_3_CHILD_ENTITIES_RULE_ID ) ] : 'warn' ,
43
44
[ createScopedModuleRuleName ( NO_MORE_THAN_3_ROOT_ENTITIES_RULE_ID ) ] : 'warn' ,
45
+ [ createScopedModuleRuleName ( NO_MORE_THAN_100_FIELDS_RULE_ID ) ] : 'warn' ,
44
46
[ createScopedModuleRuleName ( UNSUPPORTED_SCOPE_RULE_ID ) ] : 'warn'
45
47
}
46
48
}
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ import {
28
28
rule as fiscalDataFilteringNotSupported
29
29
} from './rules/graphql/no-fiscal-date-filtering-supported.js' ;
30
30
31
+ import {
32
+ NO_MORE_THAN_100_FIELDS_RULE_ID ,
33
+ rule as noMoreThan100Fields
34
+ } from './rules/graphql/no-more-than-100-fields.js' ;
31
35
import {
32
36
NO_SEMI_ANTI_JOIN_SUPPORTED_RULE_ID ,
33
37
rule as noSemiAntiJoinSupported
@@ -67,6 +71,7 @@ export = {
67
71
[ NO_MORE_THAN_1_PARENT_RECORD_RULE_ID ] : noMoreThan1ParentRecord ,
68
72
[ NO_MORE_THAN_3_CHILD_ENTITIES_RULE_ID ] : noMoreThan3ChildEntities ,
69
73
[ NO_MORE_THAN_3_ROOT_ENTITIES_RULE_ID ] : noMoreThan3RootEntities ,
74
+ [ NO_MORE_THAN_100_FIELDS_RULE_ID ] : noMoreThan100Fields ,
70
75
[ NO_SEMI_ANTI_JOIN_SUPPORTED_RULE_ID ] : noSemiAntiJoinSupported ,
71
76
[ UNSUPPORTED_SCOPE_RULE_ID ] : unsupportedScope
72
77
}
You can’t perform that action at this time.
0 commit comments