Skip to content

Commit

Permalink
refactor: react-app using hooks, hash-routes, lazy-load and upgraded …
Browse files Browse the repository at this point in the history
…deps
  • Loading branch information
emagnier committed Jun 29, 2024
1 parent 703117d commit 3c3d9b2
Show file tree
Hide file tree
Showing 33 changed files with 579 additions and 705 deletions.
2 changes: 2 additions & 0 deletions react-app/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ rules:
# typescript rules
'@typescript-eslint/prefer-default-export': 'off'
'@typescript-eslint/lines-between-class-members': 'off'
'@typescript-eslint/consistent-type-imports': 'error'

# react rules
'react/function-component-definition':
Expand All @@ -23,6 +24,7 @@ rules:

# import rules
'import/prefer-default-export': 'off'
'import/no-default-export': 'error'
'import/no-extraneous-dependencies':
- error
- devDependencies:
Expand Down
1 change: 1 addition & 0 deletions react-app/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/no-default-export */
import { defineConfig } from 'cypress';
import vitePreprocessor from 'cypress-vite';

Expand Down
Loading

0 comments on commit 3c3d9b2

Please sign in to comment.