feat: 01 - First React app setup with Vite

This commit is contained in:
2026-05-04 10:51:51 +05:30
commit 9a9f830194
4266 changed files with 997642 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
type Rules = { "only-export-components": any };
export type OnlyExportComponentsOptions = {
extraHOCs?: string[];
allowExportNames?: string[];
allowConstantExport?: boolean;
checkJS?: boolean;
};
type Config = {
name: string;
plugins: { "react-refresh": { rules: Rules } };
rules: Rules;
};
type ConfigFn = (options?: OnlyExportComponentsOptions) => {
name: string;
plugins: { "react-refresh": { rules: Rules } };
rules: Rules;
};
export const reactRefresh: {
plugin: {
rules: Rules;
};
configs: {
recommended: ConfigFn;
vite: ConfigFn;
next: ConfigFn;
};
};
declare const _default: {
rules: Rules;
configs: {
recommended: Config;
vite: Config;
next: Config;
};
};
export default _default;