Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShaderLab ignore
Editor
module #2395ShaderLab ignore
Editor
module #2395Changes from all commits
5a26f3d
5ecc318
cafc24f
dc69489
221b7b6
0d45d9c
0f14c3f
8871d9b
3b4ffd7
f649a58
598fc56
e33a66f
41ef06f
b5214fc
f36ce02
ff8b7c2
634236f
91e6fa4
3932448
b5fa1e6
d8d9a87
4f575fc
a5f76dc
d2d14d1
326afea
a46c5dc
bfd4b1d
5fe627d
cfdc44d
d65e88a
81ba305
470dc62
6c7436a
671cace
92b972e
9226d38
ff6a69a
83b9ca2
f510c2a
94e30f5
e3c7aa5
36b77e0
b2e07fc
93df92e
8e0cc28
7652250
c92e674
3fefbe9
9eb7398
9f5b5bc
82f73b2
964b846
f6fed8b
519ab40
ee6a813
d7e0ac8
8f75c28
00447fb
d5a3c0c
c176226
b8ca43f
a6d21d6
ce23026
3bcaeb0
79a7a0c
fa7131c
3093bd2
6eba20a
8c90796
dab8003
f12b8f7
c32969b
9d4d808
f5edeb3
68e1556
dd4777c
1a918da
4c9e16c
e4d267c
077e009
462af90
54f9c79
d01b060
df84ce0
1426499
48eb236
3b06a3f
ab356b6
ab6de2c
5092aab
8a5f838
ff3f5ae
c679a9e
44b7e84
eb0bcde
2f56705
b102ac8
e1f749a
6e36dd0
032a631
adb871f
cc8e0a1
b7da54e
59776c4
11ebcbc
67f9c8d
c76c81f
2236ac3
9f8cbe7
0df3db6
a72aade
a19e9ba
4c47c15
d83cb29
a180d29
7c57e15
4c63401
87c719d
2661cae
a85ee45
4c50206
cae81c2
eb515be
fb3974e
f0742cf
ef6496b
8086b86
cb6188f
c80f141
0d57693
b173007
006a08c
0addd19
f9434bb
d12640e
4b64817
d351bae
2df9acb
e037baa
2e3c530
882229f
e747bae
d15921c
0927b2d
c0e2a60
f755ebb
2b911ee
5badefe
cc64947
fa6b2de
671df03
257dffe
caa9c01
fb008e3
1027705
e57f2aa
0c8d1d6
c05c7ef
9de0104
eeb1188
28b9a95
2749c76
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 96 in packages/shader-lab/src/ShaderLab.ts
Codecov / codecov/patch
packages/shader-lab/src/ShaderLab.ts#L96
Check warning on line 98 in packages/shader-lab/src/ShaderLab.ts
Codecov / codecov/patch
packages/shader-lab/src/ShaderLab.ts#L98
Check warning on line 195 in packages/shader-lab/src/contentParser/ShaderContentParser.ts
Codecov / codecov/patch
packages/shader-lab/src/contentParser/ShaderContentParser.ts#L195
Check warning on line 252 in packages/shader-lab/src/contentParser/ShaderContentParser.ts
Codecov / codecov/patch
packages/shader-lab/src/contentParser/ShaderContentParser.ts#L252
Check warning on line 270 in packages/shader-lab/src/contentParser/ShaderContentParser.ts
Codecov / codecov/patch
packages/shader-lab/src/contentParser/ShaderContentParser.ts#L270
Check warning on line 310 in packages/shader-lab/src/contentParser/ShaderContentParser.ts
Codecov / codecov/patch
packages/shader-lab/src/contentParser/ShaderContentParser.ts#L310
Check warning on line 123 in packages/shader-lab/src/parser/ShaderTargetParser.ts
Codecov / codecov/patch
packages/shader-lab/src/parser/ShaderTargetParser.ts#L123
Check warning on line 125 in packages/shader-lab/src/parser/ShaderTargetParser.ts
Codecov / codecov/patch
packages/shader-lab/src/parser/ShaderTargetParser.ts#L125
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add test coverage for error handling
The error handling code path is not covered by tests. Consider adding test cases for:
Would you like me to help generate test cases for these scenarios?
🧰 Tools
🪛 GitHub Check: codecov/patch
[warning] 123-123: packages/shader-lab/src/parser/ShaderTargetParser.ts#L123
Added line #L123 was not covered by tests
[warning] 125-125: packages/shader-lab/src/parser/ShaderTargetParser.ts#L125
Added line #L125 was not covered by tests
Check warning on line 108 in packages/shader-lab/src/preprocessor/PpParser.ts
Codecov / codecov/patch
packages/shader-lab/src/preprocessor/PpParser.ts#L108
Check warning on line 110 in packages/shader-lab/src/preprocessor/PpParser.ts
Codecov / codecov/patch
packages/shader-lab/src/preprocessor/PpParser.ts#L110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Fix static context reference and add test coverage.
this
with the class name to improve clarity in static context.📝 Committable suggestion
🧰 Tools
🪛 Biome
[error] 109-109: Using this in a static context can be confusing.
this refers to the class.
Unsafe fix: Use the class name instead.
(lint/complexity/noThisInStatic)
🪛 GitHub Check: codecov/patch
[warning] 108-108: packages/shader-lab/src/preprocessor/PpParser.ts#L108
Added line #L108 was not covered by tests
[warning] 110-110: packages/shader-lab/src/preprocessor/PpParser.ts#L110
Added line #L110 was not covered by tests