1.0.0 • Published 8 years ago

jscs-config-allenmoore v1.0.0

Weekly downloads
1
License
GLP-2.0+
Repository
github
Last release
8 years ago

JSCS Config AllenMoore

JSCS shareable config

Build Status NPM Version

NPM

Installation

npm install jscs jscs-config-allenmoore --save-dev

Usage

JSCS shareable config

In package.json:

{
  "scripts": {
    "lint": "jscs ."
  },
  "devDependencies": {
    "jscs": "",
    "jscs-config-allenmoore": ""
  },
  "jscsConfig": {
    "preset": "allenmoore"
  }
}

Or:

{
  "scripts": {
    "lint": "jscs -p allenmoore ."
  },
  "devDependencies": {
    "jscs": "",
    "jscs-config-allenmoore": ""
  }
}

Or, in .jscsrc:

{
  "preset": "allenmoore"
}

Then lint:

npm run lint