Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

eslint-all.js 918B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * @fileoverview Config to enable all rules.
  3. * @author Robert Fletcher
  4. */
  5. "use strict";
  6. //------------------------------------------------------------------------------
  7. // Requirements
  8. //------------------------------------------------------------------------------
  9. const builtInRules = require("../lib/rules");
  10. //------------------------------------------------------------------------------
  11. // Helpers
  12. //------------------------------------------------------------------------------
  13. const allRules = {};
  14. for (const [ruleId, rule] of builtInRules) {
  15. if (!rule.meta.deprecated) {
  16. allRules[ruleId] = "error";
  17. }
  18. }
  19. //------------------------------------------------------------------------------
  20. // Public Interface
  21. //------------------------------------------------------------------------------
  22. /** @type {import("../lib/shared/types").ConfigData} */
  23. module.exports = { rules: allRules };