This package provides the following services:
linter-glslify
💫GLSL linter for Atom, supporting glslify!💫
linter-glslify is a GLSL linter for Atom, It also supports glslify-powered shaders using source maps.
Why?
- glslify is very useful for GLSL development
- But it breaks linter-glsl
- glslify doesn't output source maps
- So error positions are corrupted when the shader uses glslify😞
- I tried to send PRs to support source maps to glslify, but it was so hard because of its architecture
- So I created glslify-lite and linter-glslify
- glslify-lite is a tiny version of glslify, but supports source maps!
- linter-glslify bundles shaders with glslify-lite before linting
- it shows correct error positions using source maps!!😻
Install
$ apm install linter-glslify
Supported Filename formats
Vertex | Fragment | Geometry | Tessellation Control | Tessellation Evaluation | Compute |
---|---|---|---|---|---|
.vert |
.frag |
.geom |
.tesc |
.tese |
.comp |
.vs.glsl |
.fs.glsl |
.gs.glsl |
.tc.glsl |
.te.glsl |
.cs.glsl |
_vs.glsl |
_fs.glsl |
_gs.glsl |
_tc.glsl |
_te.glsl |
_cs.glsl |
.vs |
.fs |
.gs |
.tc |
.te |
.cs |
.v.glsl |
.f.glsl |
.g.glsl |
|||
_v.glsl |
_f.glsl |
_g.glsl |
|||
.vsh |
.fsh |
.gsh |
|||
.glsl |
Acknowledgements
This package was forked from linter-glsl.
LICENSE
MIT