Debian Codegraph @

eslint.config.mjs

raw
1 import js from "@eslint/js"
2 import { defineConfig, globalIgnores } from "eslint/config"
3 import tseslint from "typescript-eslint"
4
5 export default defineConfig(
6 js.configs.recommended,
7 tseslint.configs.recommended,
8 tseslint.configs.recommendedTypeChecked,
9 tseslint.configs.strict,
10 {
11 languageOptions: {
12 parserOptions: {
13 projectService: true,
14 },
15 },
16 },
17 globalIgnores(["dist", "example/dist"]),
18 {
19 rules: {
20 "prefer-const": "off",
21 "no-undef": "off",
22 },
23 },
24 )