jscs-preset-cityofsurrey

1.0.1 • Public • Published

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).

Package Sidebar

Install

npm i jscs-preset-cityofsurrey

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • vivanov1410