Skip to content

Commit

Permalink
fix: eslint 추가 및 안쓰는 import 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
gudusol committed May 18, 2024
1 parent 6d64809 commit 2243b6f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended'],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
},
};
1 change: 0 additions & 1 deletion src/assets/svg/IcArtist1.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from 'react';
import type { SVGProps } from 'react';
const SvgIcArtist1 = (props: SVGProps<SVGSVGElement>) => (
<svg
Expand Down
1 change: 0 additions & 1 deletion src/assets/svg/IcBrunchLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from 'react';
import type { SVGProps } from 'react';
const SvgIcBrunchLogo = (props: SVGProps<SVGSVGElement>) => (
<svg
Expand Down

0 comments on commit 2243b6f

Please sign in to comment.