jscs-config-allenmoore

A shareable JSCS config

Usage no npm install needed!

<script type="module">
  import jscsConfigAllenmoore from 'https://cdn.skypack.dev/jscs-config-allenmoore';
</script>

README

JSCS Config AllenMoore

JSCS [shareable config] (https://github.com/allenmoore/jscs-config)

Build Status NPM Version

NPM

Installation

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

Usage

JSCS [shareable config] (https://github.com/allenmoore/jscs-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