From 1212b7700caad2dfdb2d4cd4ed75c4f141002ff8 Mon Sep 17 00:00:00 2001 From: Max Hauser Date: Tue, 10 Sep 2024 16:55:38 +0200 Subject: [PATCH] fixed problem with tsconfig (#5) --- README.md | 4 ++++ eslint.config.mjs | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c4b1f30..3c44fc8 100644 --- a/README.md +++ b/README.md @@ -39,5 +39,9 @@ export default [...config, ...esmConfig]; Placeholder for the next version (at the beginning of the line): ### **WORK IN PROGRESS** --> + +### **WORK IN PROGRESS** +* (@foxriver76) fixed problems with tsconfig + ### 0.1.2 (2024-09-06) * (@foxriver76) initial release \ No newline at end of file diff --git a/eslint.config.mjs b/eslint.config.mjs index bb40735..9999081 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -3,7 +3,7 @@ import eslint from "@eslint/js"; import jsdoc from "eslint-plugin-jsdoc"; import tseslint from "typescript-eslint"; import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended"; -import globals from 'globals' +import globals from 'globals'; /** * Rules for all JSDOC plugin usages @@ -141,8 +141,7 @@ export default tseslint.config( languageOptions: { globals: globals.node, parserOptions: { - projectService: true, - tsconfigRootDir: import.meta.dirname, + projectService: true } } },