• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

linter-glslify

Linter for GLSL shaders, powered with glslify
  • #glsl
  • #lint
  • #glslify
  • #sourcemaps
fand
1.0.0 2,149
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

linter-glslify

💫GLSL linter for Atom, supporting glslify!💫

TravisCI build status AppVeyor build status

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by