1.0.1 • Published 8 years ago

jscs-preset-cityofsurrey v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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

  1. Install Node.js

  2. Install JSCS

    $ npm install -g jscs
  3. Install jscs-preset-cityofsurrey

    $ npm install --save-dev jscs-preset-cityofsurrey
  4. Create a .jscsrc file in your project

    {
        "preset": "cityofsurrey"
    }
  5. 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).

1.0.1

8 years ago

1.0.0

8 years ago