2 * @fileoverview Default configuration
3 * @author Nicholas C. Zakas
8 //-----------------------------------------------------------------------------
10 //-----------------------------------------------------------------------------
12 const Rules = require("../rules");
14 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
19 exports.defaultConfig = [
24 espree: require("espree")
28 * Because we try to delay loading rules until absolutely
29 * necessary, a proxy allows us to hook into the lazy-loading
30 * aspect of the rules map while still keeping all of the
31 * relevant configuration inside of the config array.
33 rules: new Proxy({}, {
34 get(target, property) {
35 return Rules.get(property);
38 has(target, property) {
39 return Rules.has(property);