Skip to content

Commit

Permalink
refactor store
Browse files Browse the repository at this point in the history
  • Loading branch information
gcor committed Jan 9, 2024
1 parent 44b1db5 commit 14075f7
Show file tree
Hide file tree
Showing 202 changed files with 29,981 additions and 5,817 deletions.
15 changes: 12 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@
"project": "./tsconfig.json"
},
"rules": {
"react-hooks/exhaustive-deps": "error",

"@next/next/no-img-element": "off",

// TODO: remove this rule
"@typescript-eslint/no-explicit-any": "off",
// TODO: remove this rule
"@typescript-eslint/ban-ts-comment": "off",
// TODO: remove this rule

"jsx-a11y/click-events-have-key-events": "off",
// TODO: remove this rule
"jsx-a11y/no-static-element-interactions": "off",

"no-irregular-whitespace": "off",
Expand Down Expand Up @@ -56,7 +57,15 @@
{ "from": "./types", "target": "./shared" },
{ "from": "./state", "target": "./components" },
{ "from": "./constants", "target": "./components" },
{ "from": "./features", "target": "./components" }
{ "from": "./features", "target": "./components" },

{ "from": "./constants", "target": "./map" },
{ "from": "./state", "target": "./map" },
{ "from": "./styles", "target": "./map" },
{ "from": "./shared", "target": "./map" },
{ "from": "./pages", "target": "./map" },
{ "from": "./features", "target": "./map" },
{ "from": "./components", "target": "./map" }
]
}
]
Expand Down
53 changes: 0 additions & 53 deletions components/Card/Card.tsx

This file was deleted.

27 changes: 0 additions & 27 deletions components/Card/DesktopCard/DesktopCard.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions components/Card/MobileCard.tsx

This file was deleted.

38 changes: 0 additions & 38 deletions components/Card/components/ConstructionInfo/ConstructionInfo.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions components/Card/components/Header/Header.module.css

This file was deleted.

62 changes: 0 additions & 62 deletions components/Card/components/Header/Header.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/Card/components/Section/Section.module.css

This file was deleted.

7 changes: 0 additions & 7 deletions components/Card/components/Section/Section.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions components/Card/index.ts

This file was deleted.

63 changes: 0 additions & 63 deletions components/Filters/Filters.tsx

This file was deleted.

1 change: 0 additions & 1 deletion components/Filters/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions constants/colors.ts

This file was deleted.

1 change: 0 additions & 1 deletion constants/map.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export const MIN_ZOOM = 11;
export const MAX_ZOOM = 20;
export const BUILDING_LAYER_ID = 'building';
export const CENTER_COORDS: [number, number] = [60.605, 56.838011];
Loading

0 comments on commit 14075f7

Please sign in to comment.