Bonita BPM enforces Javascript coding style through the use of JSCS.
This packages provides a "Bonita BPM" preset.
- Install JSCS:
- Install jscs-preset-bonita;
- Create a .jscsrc where you need it;
- Set "preset" property to "bonita":
{
"preset": "bonita"
}
Note: Currently jscs-preset-bonita needs to be installed locally in the project, with npm install jscs-preset-bonita
. There is a PR (jscs-dev/node-jscs#1807) to allow global node modules (so it can be installed only once with npm install -g jscs-preset-bonita
).