Skip to content

Commit

Permalink
map, mapClusterer에 useContext 적용 및 hook cycle 로 리팩토링 (#135)
Browse files Browse the repository at this point in the history
* map, mapClusterer에 useContext 적용 및 hook cycle 로 리팩토링

* fix sidebar, remove log
  • Loading branch information
siner308 authored Oct 6, 2024
1 parent aafae42 commit 2799d71
Show file tree
Hide file tree
Showing 37 changed files with 1,493 additions and 793 deletions.
34 changes: 34 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@stylistic/ts",
"@stylistic/jsx"
],
"parser": "@typescript-eslint/parser",
"rules": {
"eol-last": "error",
"brace-style": [
"error",
"1tbs"
],
"@stylistic/jsx/jsx-tag-spacing": [
"error",
{
"beforeSelfClosing": "always"
}
],
"no-unused-vars": "off",
"react/prop-types": "off"
}
}
57 changes: 0 additions & 57 deletions eslint.config.mjs

This file was deleted.

59 changes: 27 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
"type": "module",
"author": "siner308",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint src",
"preview": "vite preview",
"prepare": "husky"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
Expand All @@ -18,44 +25,21 @@
"react-icons": "^4.2.0",
"react-kakao-maps-sdk": "1.1.21",
"recoil": "^0.7.7",
"stylelint-config-standard-scss": "^13.1.0",
"typescript": "5.5"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint src",
"preview": "vite preview",
"prepare": "husky"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
"stylelint-config-standard-scss": "^12.0.0"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@stylistic/eslint-plugin-jsx": "^2.9.0",
"@stylistic/eslint-plugin-ts": "^2.9.0",
"@tanstack/eslint-plugin-query": "^5.59.1",
"@stylistic/eslint-plugin-jsx": "^2.3.0",
"@stylistic/eslint-plugin-ts": "^2.3.0",
"@tanstack/eslint-plugin-query": "^5.51.13",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"@vitejs/plugin-react": "^4.3.2",
"eslint": "^9.12.0",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "5.1.0-rc-1460d67c-20241003",
"eslint-plugin-react-refresh": "^0.4.12",
"husky": "^9.1.6",
"kakao.maps.d.ts": "^0.1.40",
"lint-staged": "^15.2.7",
Expand All @@ -69,9 +53,20 @@
"stylelint-prettier": "^5.0.2",
"stylelint-scss": "^6.5.0",
"tailwindcss": "^3.4.1",
"typescript": "^5.0.2",
"typescript": "5.5.4",
"vite": "5.4.8"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"homepage": "https://ttbkk.com",
"bugs": "https://github.com/ttbkk-univ/ttbkk-web/issues",
"readme": "https://github.com/ttbkk-univ/ttbkk-web/blob/main/README.md",
Expand Down
Loading

0 comments on commit 2799d71

Please sign in to comment.