🧑💻 Migrate package.json prettier and eslint
Also updated the plugins and the config. New rules should be respected from now-on
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
// This interface is to be used in all the modules of the project
|
||||
// Each module should have its own interface and call the following function:
|
||||
// TODO: Add a function to register a module
|
||||
|
||||
import { Icon } from '@tabler/icons-react';
|
||||
|
||||
// Note: Maybe use context to keep track of the modules
|
||||
// TODO: Remove this old component and the entire file
|
||||
export interface IModule {
|
||||
export type IModule = {
|
||||
id: string;
|
||||
title: string;
|
||||
icon: Icon;
|
||||
component: React.ComponentType;
|
||||
options?: Option;
|
||||
padding?: PaddingOptions = {
|
||||
right: 15,
|
||||
top: 15,
|
||||
};
|
||||
}
|
||||
padding?: PaddingOptions;
|
||||
};
|
||||
|
||||
interface PaddingOptions {
|
||||
top: number;
|
||||
Reference in New Issue
Block a user