mirror of
https://github.com/nodejs/node.git
synced 2026-12-06 10:48:45 -05:00
Update ESLint and configuration to version 4.0.0. PR-URL: https://github.com/nodejs/node/pull/13645 Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
28 lines
566 B
JavaScript
28 lines
566 B
JavaScript
/**
|
|
* @fileoverview Default CLIEngineOptions.
|
|
* @author Ian VanSchooten
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
module.exports = {
|
|
configFile: null,
|
|
baseConfig: false,
|
|
rulePaths: [],
|
|
useEslintrc: true,
|
|
envs: [],
|
|
globals: [],
|
|
extensions: [".js"],
|
|
ignore: true,
|
|
ignorePath: null,
|
|
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
|
|
};
|