start-standard

1.1.0 • Public • Published

start-standard

npm linux build windows build coverage deps semantic-release Commitizen friendly greenkeeper

🎏 Standard Style checker for Start

Standard - JavaScript Style Guide Semistandard - JavaScript Style Guide happiness - JavaScript Sytle Guide

Install

npm install --save-dev start-standard
# or 
yarn add --dev start-standard

Usage

import Start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import standard from 'start-standard';
 
const start = Start(reporter());
 
export const lint = () => start(
  files([ 'lib/**/*.js', 'test/**/*.js' ]),
  standard()
);

This task relies on array of files and provides the same, see documentation for details.

Arguments

To use styles other than standard, semistandard or happiness (such as standard-react) you will have to add the dependency yourself.

standard(style, options)

  • style'standard', 'semistandard' or 'happiness'. 'standard' by default
  • optionsStandard Options

Package Sidebar

Install

npm i start-standard

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • effervescentia