diff options
| author | JustZvan <justzvan@justzvan.xyz> | 2026-02-06 12:16:40 +0100 |
|---|---|---|
| committer | JustZvan <justzvan@justzvan.xyz> | 2026-02-06 12:16:40 +0100 |
| commit | e904e9634548e47d611bdcbb88d7b180b927fd5f (patch) | |
| tree | 21aa5be08fc5b22585508c0263ee5ea4effcc593 /eslint.config.mts | |
feat: initial commit!
Diffstat (limited to 'eslint.config.mts')
| -rw-r--r-- | eslint.config.mts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/eslint.config.mts b/eslint.config.mts new file mode 100644 index 0000000..7bf06c2 --- /dev/null +++ b/eslint.config.mts @@ -0,0 +1,15 @@ +import js from "@eslint/js"; +import globals from "globals"; +import tseslint from "typescript-eslint"; +import prettierConfig from "eslint-config-prettier"; +import { defineConfig } from "eslint/config"; + +export default defineConfig([ + js.configs.recommended, + tseslint.configs.recommended, + prettierConfig, + { + files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], + languageOptions: { globals: globals.node }, + }, +]); |