File tree 3 files changed +26
-23
lines changed 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 10
10
11
11
jobs :
12
12
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
25
15
26
16
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
31
19
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
35
22
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
39
30
env :
40
31
CI : true
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ module.exports = {
60
60
'no-dupe-class-members' : 'error' ,
61
61
'no-dupe-keys' : 'error' ,
62
62
'no-duplicate-case' : 'error' ,
63
- 'no-else-return' : 'error' ,
63
+ 'no-else-return' : [ 'error' , { allowElseIf : false } ] ,
64
64
'no-empty' : 'error' ,
65
65
'no-empty-character-class' : 'error' ,
66
66
'no-eq-null' : 'error' ,
You can’t perform that action at this time.
0 commit comments