File tree Expand file tree Collapse file tree 3 files changed +26
-23
lines changed Expand file tree Collapse file tree 3 files changed +26
-23
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : npm
4+ directory : " /"
5+ schedule :
6+ interval : weekly
7+ open-pull-requests-limit : 10
8+ versioning-strategy : increase-if-necessary
9+ - package-ecosystem : github-actions
10+ directory : " /"
11+ schedule :
12+ interval : weekly
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 test :
13- name : ${{ matrix.platform }}
14- runs-on : ${{ matrix.platform }}
15-
16- strategy :
17- fail-fast : false
18- matrix :
19- platform :
20- - ubuntu-latest
21- - macos-latest
22- - windows-latest
23- node :
24- - 16
13+ name : Test
14+ runs-on : ubuntu-latest
2515
2616 steps :
27- - name : Set git to use LF
28- run : |
29- git config --global core.autocrlf false
30- git config --global core.eol lf
17+ - name : Clone Repository
18+ uses : actions/checkout@v3
3119
32- - uses : actions/checkout@v2
33- - name : Use Node.js ${{ matrix.node }}
34- uses : actions/setup-node@v2
20+ - name : Setup Node.js
21+ uses : actions/setup-node@v3
3522 with :
36- node-version : ${{ matrix.node }}
37- - run : npm ci
38- - run : npm test
23+ node-version : ' 16'
24+
25+ - name : Install Dependencies
26+ run : npm ci
27+
28+ - name : Run Tests
29+ run : npm test
3930 env :
4031 CI : true
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ module.exports = {
6060 'no-dupe-class-members' : 'error' ,
6161 'no-dupe-keys' : 'error' ,
6262 'no-duplicate-case' : 'error' ,
63- 'no-else-return' : 'error' ,
63+ 'no-else-return' : [ 'error' , { allowElseIf : false } ] ,
6464 'no-empty' : 'error' ,
6565 'no-empty-character-class' : 'error' ,
6666 'no-eq-null' : 'error' ,
You can’t perform that action at this time.
0 commit comments