Add uniform decorator for improving custom material code #740
ci.yml
on: pull_request
lint
29s
codecov
2m 11s
Matrix: build
Annotations
10 errors
|
lint:
packages/core/src/shader/ShaderUniformDecorator.ts#L31
Replace `type·===·ShaderUniformType.Float·||·type·===·ShaderUniformType.Int·||·type·===·ShaderUniformType.Texture·||·type·===·ShaderUniformType.TextureArray` with `⏎······type·===·ShaderUniformType.Float·||⏎······type·===·ShaderUniformType.Int·||⏎······type·===·ShaderUniformType.Texture·||⏎······type·===·ShaderUniformType.TextureArray⏎····`
|
|
|
lint:
packages/core/src/shader/ShaderUniformDecorator.ts#L47
Replace `type·===·ShaderUniformType.Vector2·||·type·===·ShaderUniformType.Vector3·||·type·===·ShaderUniformType.Vector4·||·type·===·ShaderUniformType.Matrix·||·type·===·ShaderUniformType.Color` with `⏎········type·===·ShaderUniformType.Vector2·||⏎········type·===·ShaderUniformType.Vector3·||⏎········type·===·ShaderUniformType.Vector4·||⏎········type·===·ShaderUniformType.Matrix·||⏎········type·===·ShaderUniformType.Color⏎······`
|
|
|
|
lint
Process completed with exit code 1.
|
codecov
Process completed with exit code 1.
|