@modulus/standard

JavaScript Standard Modulus Style


Keywords
JavaScript Standard Modulus Style, check, checker, code, code checker, code linter, code standards, code style, enforce, eslint, hint, jscs, jshint, lint, policy, quality, simple, standard, standard style, style, style checker, style linter, verify
License
MIT
Install
npm install @modulus/standard@2.0.0

Documentation

JavaScript Standard Modulus Style

version build license

A standard-engine implementation wrapping the eslint-config-modulus shared config.

Install

npm install @modulus/standard --save-dev

Usage

$ mod-standard
Error: Use JavaScript Standard Modulus Style
  lib/torrent.js:950:11: Expected '===' and instead saw '=='.

Lint before testing

// package.json
{
  "scripts": {
    "pretest": "mod-standard",
    "test": "lab -c"
  }
}