Skip to content

Add uniform decorator for improving custom material code #735

Add uniform decorator for improving custom material code

Add uniform decorator for improving custom material code #735

Triggered via pull request September 1, 2023 06:52
Status Failure
Total duration 2m 36s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

9 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.