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

Version Path
decidim-0.27.1 packages/webpacker/node_modules/eslint/conf/eslint-all.js
decidim-0.26.4 packages/webpacker/node_modules/eslint/conf/eslint-all.js
decidim-0.27.0 packages/webpacker/node_modules/eslint/conf/eslint-all.js
decidim-0.26.3 packages/webpacker/node_modules/eslint/conf/eslint-all.js
decidim-0.27.0.rc2 packages/webpacker/node_modules/eslint/conf/eslint-all.js
decidim-0.27.0.rc1 packages/webpacker/node_modules/eslint/conf/eslint-all.js