-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheslint.config.cjs
More file actions
38 lines (37 loc) ยท 860 Bytes
/
eslint.config.cjs
File metadata and controls
38 lines (37 loc) ยท 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// eslint.config.cjs
const js = require("@eslint/js");
const ts = require("typescript-eslint");
module.exports = [
{
ignores: [
"dist",
"node_modules",
".vite",
"**/*.config.*", // vite, tailwind, postcss ๋ฑ
"**/*.d.ts",
"**/*.test.*",
// PWA ๊ด๋ จ ์๋ ์์ฑ ํ์ผ๋ค
"sw.js",
"workbox-*.js",
"registerSW.js",
"manifest.webmanifest",
],
},
js.configs.recommended,
...ts.configs.recommended,
{
files: ["**/*.ts", "**/*.tsx"],
languageOptions: {
parser: ts.parser,
parserOptions: {
project: "./tsconfig.app.json",
tsconfigRootDir: __dirname,
},
},
rules: {
semi: ["error", "always"],
quotes: ["error", "double", { avoidEscape: true }],
// ์ฌ๊ธฐ์ ์ํ๋ ๋ฃฐ์ ๊ณ์ ์ถ๊ฐ ๊ฐ๋ฅ
},
},
];