0.0.0-wip • Published 6 years ago
eslint-plugin-glsl v0.0.0-wip
eslint-plugin-glsl
eslint plugin for shader
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-glsl
:
$ npm install eslint-plugin-glsl --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-glsl
globally.
Usage
Add glsl
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"glsl"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"glsl/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here
0.0.0-wip
6 years ago