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.

default-config.js 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /**
  2. * @fileoverview Default configuration
  3. * @author Nicholas C. Zakas
  4. */
  5. "use strict";
  6. //-----------------------------------------------------------------------------
  7. // Requirements
  8. //-----------------------------------------------------------------------------
  9. const Rules = require("../rules");
  10. //-----------------------------------------------------------------------------
  11. // Helpers
  12. //-----------------------------------------------------------------------------
  13. exports.defaultConfig = [
  14. {
  15. plugins: {
  16. "@": {
  17. parsers: {
  18. espree: require("espree")
  19. },
  20. /*
  21. * Because we try to delay loading rules until absolutely
  22. * necessary, a proxy allows us to hook into the lazy-loading
  23. * aspect of the rules map while still keeping all of the
  24. * relevant configuration inside of the config array.
  25. */
  26. rules: new Proxy({}, {
  27. get(target, property) {
  28. return Rules.get(property);
  29. },
  30. has(target, property) {
  31. return Rules.has(property);
  32. }
  33. })
  34. }
  35. },
  36. ignores: [
  37. "**/node_modules/**",
  38. ".git/**"
  39. ],
  40. languageOptions: {
  41. parser: "@/espree"
  42. }
  43. }
  44. ];