Skip to content

Commit f3ca3c9

Browse files
committed
chore: eslint/prettier 제거하고 biome로 통일, turbo 스크립트 업데이트
1 parent f6e0f72 commit f3ca3c9

34 files changed

Lines changed: 176 additions & 2904 deletions

apps/web/.eslintignore

Lines changed: 0 additions & 26 deletions
This file was deleted.

apps/web/.eslintrc.js

Lines changed: 0 additions & 134 deletions
This file was deleted.

apps/web/.prettierignore

Lines changed: 0 additions & 38 deletions
This file was deleted.

apps/web/.prettierrc.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

apps/web/biome.json

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"includes": ["**", "!node_modules", "!.next", "!build", "!dist", "!*.tsbuildinfo"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"formatWithErrors": false,
15+
"indentStyle": "space",
16+
"indentWidth": 2,
17+
"lineEnding": "lf",
18+
"lineWidth": 120
19+
},
20+
"linter": {
21+
"enabled": true,
22+
"rules": {
23+
"recommended": true,
24+
"a11y": {
25+
"noLabelWithoutControl": "off",
26+
"noStaticElementInteractions": "warn",
27+
"useKeyWithClickEvents": "warn",
28+
"useAriaPropsForRole": "warn",
29+
"useAriaPropsSupportedByRole": "warn",
30+
"useButtonType": "warn",
31+
"useFocusableInteractive": "warn",
32+
"useHtmlLang": "warn",
33+
"useSemanticElements": "warn",
34+
"noSvgWithoutTitle": "warn",
35+
"useValidAriaRole": "warn"
36+
},
37+
"complexity": {
38+
"noUselessTypeConstraint": "warn"
39+
},
40+
"security": {
41+
"noDangerouslySetInnerHtml": "warn"
42+
},
43+
"performance": {
44+
"noImgElement": "warn"
45+
},
46+
"correctness": {
47+
"noInvalidUseBeforeDeclaration": "off",
48+
"noUnusedVariables": "warn",
49+
"useExhaustiveDependencies": "warn"
50+
},
51+
"style": {
52+
"noCommonJs": "error",
53+
"noNamespace": "error",
54+
"noNonNullAssertion": "warn",
55+
"useArrayLiterals": "error",
56+
"useAsConstAssertion": "error",
57+
"useBlockStatements": "off",
58+
"useConst": "error"
59+
},
60+
"suspicious": {
61+
"noAlert": "off",
62+
"noConsole": "off",
63+
"noExplicitAny": "warn",
64+
"noExtraNonNullAssertion": "error",
65+
"noMisleadingInstantiator": "error",
66+
"noNonNullAssertedOptionalChain": "error",
67+
"noRedeclare": "warn",
68+
"noUnknownAtRules": "warn",
69+
"noUnsafeDeclarationMerging": "error",
70+
"useIterableCallbackReturn": "warn",
71+
"useNamespaceKeyword": "error",
72+
"noArrayIndexKey": "off"
73+
}
74+
}
75+
},
76+
"javascript": {
77+
"formatter": {
78+
"jsxQuoteStyle": "double",
79+
"quoteProperties": "asNeeded",
80+
"trailingCommas": "all",
81+
"semicolons": "always",
82+
"arrowParentheses": "always",
83+
"bracketSameLine": false,
84+
"quoteStyle": "double",
85+
"attributePosition": "auto",
86+
"bracketSpacing": true
87+
}
88+
},
89+
"json": {
90+
"formatter": {
91+
"trailingCommas": "none"
92+
}
93+
},
94+
"css": {
95+
"parser": {
96+
"cssModules": true,
97+
"tailwindDirectives": true
98+
}
99+
},
100+
"overrides": [
101+
{
102+
"includes": [".eslintrc.{js,cjs}", "*.config.{js,mjs,ts}"],
103+
"linter": {
104+
"rules": {
105+
"style": {
106+
"noCommonJs": "off"
107+
}
108+
}
109+
}
110+
}
111+
]
112+
}

apps/web/next.config.mjs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ const nextConfig = {
66
swcMinify: true,
77
images: {
88
unoptimized: true,
9-
domains: [
10-
"k.kakaocdn.net",
11-
"cdn.default.solid-connection.com",
12-
"cdn.upload.solid-connection.com",
13-
],
9+
domains: ["k.kakaocdn.net", "cdn.default.solid-connection.com", "cdn.upload.solid-connection.com"],
1410
formats: ["image/avif", "image/webp"],
1511
deviceSizes: [360, 640, 768, 1024, 1280],
1612
},

apps/web/node_modules/.bin/acorn

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/web/node_modules/.bin/autoprefixer

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/web/node_modules/.bin/browserslist

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/web/node_modules/.bin/eslint

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)