Files
Homarr/src/modules
ajnart 3b3f7f308f 🧑‍💻 Migrate package.json prettier and eslint
Also updated the plugins and the config.
New rules should be respected from now-on
2023-06-11 17:51:29 +09:00
..
2023-05-15 17:40:59 +09:00
2023-06-10 12:57:06 +02:00
2023-06-10 16:00:52 +02:00
2023-06-10 10:23:54 +02:00
2023-06-11 17:51:29 +09:00
2022-07-23 22:22:55 +02:00

Each module has a set of rules:

  • Exported Typed IModule element (Unique Name, description, component, ...)
  • Needs to be in a new folder
  • Needs to be exported in the modules/newmodule/index.tsx of the new folder
  • Needs to be imported in the modules/index.tsx file
  • Needs to look good when wrapped with the modules/ModuleWrapper component
  • Needs to be put somewhere fitting in the app (While waiting for the big AppStore overhall)
  • Any API Calls need to be safe and done on the widget itself (via useEffect or similar)
  • You can't add a package (unless there is a very specific need for it. Contact @Ajnart or make a Discussion.