0.1.3 • Published 9 years ago

@skivvy/skivvy-package-eslint v0.1.3

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

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:

NameTypeRequiredDefaultDescription
userstringNo"world"Username for example task

Included tasks

eslint

Lint source files using ESLint

Usage:

skivvy run eslint

Configuration settings:

NameTypeRequiredDefaultDescription
filesstring Array<string>YesN/AFiles to lint
optionsobjectNo{}ESLint API options
options.configFilestringNonullThe configuration file to use
options.envsArray<string>NonullAn array of environments to load
options.extensionsArray<string>No[".js"]An array of filename extensions that should be checked for code
options.globalsArray<string>No[]An array of global variables to declare
options.ignorebooleanNotruefalse disables use of .eslintignore
options.ignorePathstringNonullThe ignore file to use instead of .eslintignore
options.resetbooleanNofalseTrue disables all default rules and environments
options.baseConfigboolean objectNonullSet to false to disable use of base config. Could be set to an object to override default base config as well.
options.rulePathsArray<string>No[]An array of directories to load custom rules from
options.rules{}NonullAn object of rules to use
options.useEslintrcbooleanNotrueSet to false to disable use of .eslintrc files