UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.

31 lines (27 loc) 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 };