File tree Expand file tree Collapse file tree 9 files changed +636
-4024
lines changed Expand file tree Collapse file tree 9 files changed +636
-4024
lines changed Original file line number Diff line number Diff line change 9
9
"parserOptions" : {
10
10
"ecmaVersion" : 2022
11
11
},
12
- "overrides" : [
13
- {
14
- "files" : [
15
- " **/*.test.js"
16
- ],
17
- "env" : {
18
- "jest" : true
19
- },
20
- "plugins" : [" jest" ],
21
- "rules" : {
22
- "jest/no-disabled-tests" : " warn" ,
23
- "jest/no-focused-tests" : " error" ,
24
- "jest/no-identical-title" : " error" ,
25
- "jest/prefer-to-have-length" : " warn" ,
26
- "jest/valid-expect" : " error"
27
- }
28
- }
29
- ],
30
12
"env" : {
31
13
"node" : true ,
32
14
"es6" : true
Original file line number Diff line number Diff line change
1
+ name : ESLint
2
+ defaults :
3
+ run :
4
+ shell : bash
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - master
10
+ pull_request :
11
+ branches :
12
+ - master
13
+
14
+ jobs :
15
+ eslint :
16
+ name : ESLint
17
+ runs-on : ubuntu-20.04
18
+
19
+ steps :
20
+
21
+ - name : Fetch Repository
22
+ uses : actions/checkout@v3
23
+ with :
24
+ persist-credentials : false
25
+
26
+ - name : Install Node.js
27
+ uses : actions/setup-node@v3
28
+ with :
29
+ node-version : 18.16.0
30
+ cache : ' npm'
31
+
32
+ - name : Install Modules
33
+ run : npm ci
34
+
35
+ - name : Run ESLint
36
+ run : npm run eslint
Original file line number Diff line number Diff line change 1
- name : Validate
1
+ name : Test
2
2
defaults :
3
3
run :
4
4
shell : bash
12
12
- master
13
13
14
14
jobs :
15
- eslint :
16
- name : ESLint
17
- runs-on : ubuntu-20.04
18
-
19
- steps :
20
-
21
- - name : Fetch Repository
22
- uses : actions/checkout@v3
23
- with :
24
- persist-credentials : false
25
-
26
- - name : Install Node.js
27
- uses : actions/setup-node@v3
28
- with :
29
- node-version : 18.16.0
30
- cache : ' npm'
31
-
32
- - name : Install Modules
33
- run : npm ci
34
-
35
- - name : Run ESLint
36
- run : npm run eslint
37
-
38
15
unit-tests :
39
16
name : Unit Tests
40
17
strategy :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ This is a part of [Node3D](https://github.com/node-3d) project.
6
6
[ ![ CodeFactor] ( https://www.codefactor.io/repository/github/node-3d/webgl-raub/badge )] ( https://www.codefactor.io/repository/github/node-3d/webgl-raub )
7
7
8
8
```
9
- npm i webgl-raub
9
+ npm i -s webgl-raub
10
10
```
11
11
12
12
![ Example] ( examples/screenshot.jpg )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments