mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
669 B
30 lines
669 B
/**
|
|
* @fileoverview Default CLIEngineOptions.
|
|
* @author Ian VanSchooten
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
var DEFAULT_PARSER = require("../conf/eslint.json").parser;
|
|
|
|
module.exports = {
|
|
configFile: null,
|
|
baseConfig: false,
|
|
rulePaths: [],
|
|
useEslintrc: true,
|
|
envs: [],
|
|
globals: [],
|
|
rules: {},
|
|
extensions: [".js"],
|
|
ignore: true,
|
|
ignorePath: null,
|
|
parser: DEFAULT_PARSER,
|
|
cache: false,
|
|
// in order to honor the cacheFile option if specified
|
|
// this option should not have a default value otherwise
|
|
// it will always be used
|
|
cacheLocation: "",
|
|
cacheFile: ".eslintcache",
|
|
fix: false,
|
|
allowInlineConfig: true
|
|
};
|
|
|