27 lines
610 B
JavaScript
27 lines
610 B
JavaScript
import eslint from "@eslint/js";
|
|
import { defineConfig, globalIgnores } from "eslint/config";
|
|
import eslintConfigPrettier from "eslint-config-prettier/flat";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default defineConfig([
|
|
globalIgnores([
|
|
"**/dist/**",
|
|
"node_modules/",
|
|
"eslint.config.mjs",
|
|
"**/*.config.ts",
|
|
"apps/web/**",
|
|
]),
|
|
|
|
eslint.configs.recommended,
|
|
tseslint.configs.recommendedTypeChecked,
|
|
eslintConfigPrettier,
|
|
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: true,
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
},
|
|
]);
|