Sha256: 2284926518ec3599d9d64650a4a124910809c1036e71567e1652b747a11ea934
Contents?: true
Size: 918 Bytes
Versions: 6
Compression:
Stored size: 918 Bytes
Contents
/** * @fileoverview Config to enable all rules. * @author Robert Fletcher */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const builtInRules = require("../lib/rules"); //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------------------ const allRules = {}; for (const [ruleId, rule] of builtInRules) { if (!rule.meta.deprecated) { allRules[ruleId] = "error"; } } //------------------------------------------------------------------------------ // Public Interface //------------------------------------------------------------------------------ /** @type {import("../lib/shared/types").ConfigData} */ module.exports = { rules: allRules };
Version data entries
6 entries across 6 versions & 1 rubygems