mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
7a8dd69e1c
ESLint 2.9.0 fixes some minor bugs that we have been experiencing and introduces some new rules that we may wish to consider. PR-URL: https://github.com/nodejs/node/pull/6498 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
31 lines
669 B
JavaScript
31 lines
669 B
JavaScript
/**
|
|
* @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
|
|
};
|