17 lines
488 B
JavaScript
17 lines
488 B
JavaScript
import js from "@eslint/js";
|
|
import globals from "globals";
|
|
import tseslint from "typescript-eslint";
|
|
import { defineConfig } from "eslint/config";
|
|
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
|
|
|
export default defineConfig([
|
|
{
|
|
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
|
|
plugins: { js },
|
|
extends: ["js/recommended"],
|
|
languageOptions: { globals: globals.node },
|
|
},
|
|
tseslint.configs.recommended,
|
|
eslintPluginPrettierRecommended,
|
|
]);
|