1.0.1 • Published 8 years ago
jscs-preset-cityofsurrey v1.0.1
City of Surrey JSCS Preset
City of Surrey enforces JavaScript coding style through the use of JSCS.
This packages provides a "cityofsurrey" preset based on City of Surrey JavaScript Style Guide.
Installation
Install Node.js
Install JSCS
$ npm install -g jscs
Install jscs-preset-cityofsurrey
$ npm install --save-dev jscs-preset-cityofsurrey
Create a .jscsrc file in your project
{ "preset": "cityofsurrey" }
Optionally install JSCS-Formatter plugin to automatically format files.
Note: Currently jscs-preset-cityofsurrey needs to be installed locally in the project, with npm install --save-dev jscs-preset-cityofsurrey
. There is an issue to allow global node modules (so it can be installed only once with npm install -g jscs-preset-cityofsurrey
).