node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

start-eslint

start-eslint

npm linux build windows build coverage deps

ESLint task for Start.

Install

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

Usage

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

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

Arguments

eslint(options, formatter)