Skip to content

Commit

Permalink
fix : 북마크 페이지 통합 및 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh1215 committed Nov 23, 2024
1 parent 0aceb33 commit ae38917
Show file tree
Hide file tree
Showing 12 changed files with 1,185 additions and 232 deletions.
36 changes: 19 additions & 17 deletions react-app/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
import js from '@eslint/js'
import globals from 'globals'
import react from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import js from "@eslint/js";
import globals from "globals";
import react from "eslint-plugin-react";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";

export default [
{ ignores: ['dist'] },
{ ignores: ["dist"] },
{
files: ['**/*.{js,jsx}'],
files: ["**/*.{js,jsx}"],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaVersion: "latest",
ecmaFeatures: { jsx: true },
sourceType: 'module',
sourceType: "module",
},
},
settings: { react: { version: '18.3' } },
settings: { react: { version: "18.3" } },
plugins: {
react,
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
},
rules: {
"react/react-in-jsx-scope": "off", // JSX에서 React가 항상 필요하지 않음을 설정
"react/jsx-uses-react": "off", // React를 사용하지 않아도 문제 없음
...js.configs.recommended.rules,
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
...react.configs["jsx-runtime"].rules,
...reactHooks.configs.recommended.rules,
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
"react/jsx-no-target-blank": "off",
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
},
]
];
Loading

0 comments on commit ae38917

Please sign in to comment.