Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jscs-preset-kashoo

Kashoo50Apache-2.01.0.1

Shared jscs config for Kashoo javascript projects

jscs, jscs-preset, jscs preset

readme

Introduction

Defines a shareable jscs preset used by Kashoo for its javascript projects. This allows us to have a central file defining a common javascript style.

Usage

Projects that wish to use the Kashoo preset should first install a package that runs jscs, for example grunt-jscs.

Once jscs is set up and running on the project, the next step is to install the kashoo preset:

npm install jscs-preset-kashoo --save-dev

The kashoo preset can then be listed in the jscs config file as explained on the jscs page. For example, a project can define its .jscsrc file to be

{
  "preset": "kashoo",
  "requireCurlyBraces": null // or false
}

This uses the kashoo preset and then adds any other desired rules on top of it.