Skip to content

Commit 428c9da

Browse files
committed
[task/105] ESLint 파일 작성
1 parent 9d64fde commit 428c9da

4 files changed

Lines changed: 718 additions & 186 deletions

File tree

.eslintrc.js

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

eslint.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import tseslint from "typescript-eslint";
4+
import { defineConfig, globalIgnores } from "eslint/config";
5+
6+
7+
export default defineConfig([globalIgnores(["dist/**"]),
8+
{ files: ["src/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"] },
9+
{ files: ["src/*.{js,mjs,cjs,ts,mts,cts}"], languageOptions: { globals: globals.browser } },
10+
tseslint.configs.recommended,
11+
]);

0 commit comments

Comments
 (0)