@skivvy/skivvy-package-eslint

0.1.3 • Public • Published

Skivvy package: eslint

npm version Stability Build Status

Lint source files using ESLint

Installation

skivvy install eslint

Overview

This package allows you to lint JavaScript files using ESLint from within the Skivvy task runner.

Configuration settings:

Name Type Required Default Description
user string No "world" Username for example task

Included tasks

eslint

Lint source files using ESLint

Usage:

skivvy run eslint

Configuration settings:

Name Type Required Default Description
files string Array<string> Yes N/A Files to lint
options object No {} ESLint API options
options.configFile string No null The configuration file to use
options.envs Array<string> No null An array of environments to load
options.extensions Array<string> No [".js"] An array of filename extensions that should be checked for code
options.globals Array<string> No [] An array of global variables to declare
options.ignore boolean No true false disables use of .eslintignore
options.ignorePath string No null The ignore file to use instead of .eslintignore
options.reset boolean No false True disables all default rules and environments
options.baseConfig boolean object No null Set to false to disable use of base config. Could be set to an object to override default base config as well.
options.rulePaths Array<string> No [] An array of directories to load custom rules from
options.rules {} No null An object of rules to use
options.useEslintrc boolean No true Set to false to disable use of .eslintrc files

Package Sidebar

Install

npm i @skivvy/skivvy-package-eslint

Weekly Downloads

1

Version

0.1.3

License

ISC

Last publish

Collaborators

  • skivvy
  • timkendrick