Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0445b08
chore: eslint 확장자 변경 및 재설정
jjamming Oct 17, 2025
5747214
chore: prettier 설정
jjamming Oct 17, 2025
81d0220
chore: prettier 설정에 맞추어 포맷팅
jjamming Oct 17, 2025
9a16323
chore: prettier 설정에 맞추어 포맷팅
jjamming Oct 17, 2025
29c5fb3
feat: CI 스크립트 작성
jjamming Oct 17, 2025
7d8ee65
chore: pnpm 셋업 순서 변경
jjamming Oct 17, 2025
4af1774
chore: lint 실행 스크립트 변경
jjamming Oct 17, 2025
5a4c916
chore: lint 실행 스크립트 변경
jjamming Oct 17, 2025
94ecb0d
Merge pull request #33 from TeamStockPort/chore/#30-ci-script
jjamming Oct 18, 2025
1592a85
chore: readme 무시 설정 추가
jjamming Oct 20, 2025
e0a4f3a
refactor: 사용하지 않는 import문 / 콘솔 제거
jjamming Oct 20, 2025
40f9bc9
refactor: any 타입 제거
jjamming Oct 20, 2025
25bc60c
chore: 사용하지 않는 내보내기 제거
jjamming Oct 21, 2025
c49f4fb
chore: 종목 검색 컴포넌트 내부 useEffect 의존성 추가
jjamming Oct 31, 2025
46cd917
chore: buttonVariants 파일 분리 후 내보내기 경고 제거
jjamming Oct 31, 2025
b216836
Merge pull request #36 from TeamStockPort/refactor/#32-refactor-types
jjamming Oct 31, 2025
57f0ab7
fix: 기획에서 제거된 페이지 라우팅 제거
jjamming Oct 31, 2025
7c64abc
fix: 사용되지 않는 페이지, 컴포넌트 제거
jjamming Oct 31, 2025
c43e2c3
chore: navbar 사용되지 않는 바로가기 제거
jjamming Oct 31, 2025
34f6017
fix: asset 내부 useEffect 의존성 배열 수정
jjamming Oct 31, 2025
c561788
Merge pull request #38 from TeamStockPort/fix/#35-remove-unused-feats
jjamming Oct 31, 2025
6da3049
chore: 사용되지 않는 컴포넌트 삭제
jjamming Oct 31, 2025
d7c57f9
fix: 불러오기 대소문자 오타 해결
jjamming Oct 31, 2025
4566a20
chore: 의존성 배열 경고 비활성화
jjamming Oct 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .eslintrc.js

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
pull_request:
branches: [develop, main]
paths-ignore:
- "README.md"

jobs:
ci:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Setup Node (with pnpm cache)
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Check Prettier formatting
run: pnpm exec prettier --check .

- name: Run ESLint
run: pnpm run lint

- name: Build
run: pnpm run build
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
dist
build
.eslintrc.js
README.md
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"tabWidth": 2,
"singleQuote": false,
"semi": true,
"trailingComma": "es5",
"printWidth": 100,
"arrowParens": "always",
"endOfLine": "lf"
}
2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
}
28 changes: 0 additions & 28 deletions eslint.config.js

This file was deleted.

39 changes: 39 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// eslint.config.mjs
import js from "@eslint/js";
import tseslint from "typescript-eslint";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import react from "eslint-plugin-react";

export default [
{ ignores: ["dist", "node_modules", "build"] },
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2020,
sourceType: "module",
},
plugins: {
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
react,
},
rules: {
"@typescript-eslint/no-unused-vars": "warn",

"@typescript-eslint/no-explicit-any": "warn",

"react/jsx-key": "error",

...reactHooks.configs.recommended.rules,
"react-hooks/exhaustive-deps": "off",

"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],

"no-debugger": "warn",
"no-console": "warn",
},
},
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint . --ext .ts,.tsx",
"lint": "eslint . --max-warnings=0",
"format": "prettier --write .",
"preview": "vite preview"
},
Expand Down
Loading