blob: 7bf06c279f938b35987f673e7aabe85a101462b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 },
},
]);
|