diff --git a/CHANGELOG.md b/CHANGELOG.md index 1be0df1..3f7ef69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.1.1 + +- Improve TypeScript type-aware linting compatibility by passing `true` to `project` instead of a relative path. This should [auto-find the `tsconfig.json` file nearest the source file being linted](https://typescript-eslint.io/packages/parser/#project). + ## 2.1.0 - Add [`eslint-plugin-perfectionist`](https://github.com/azat-io/eslint-plugin-perfectionist) to the base configuration and all its dependent configurations diff --git a/bun.lockb b/bun.lockb index fd5e38f..c5a906d 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/lib/eslintTypescriptConfig.json b/lib/eslintTypescriptConfig.json index 8b874c4..38c77eb 100644 --- a/lib/eslintTypescriptConfig.json +++ b/lib/eslintTypescriptConfig.json @@ -1,7 +1,7 @@ { "parser": "@typescript-eslint/parser", "parserOptions": { - "project": ["./tsconfig.json"] + "project": true }, "plugins": ["@typescript-eslint/eslint-plugin"], "extends": [ diff --git a/package.json b/package.json index 9a606bb..baf1e16 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@babbel/eslint-config", - "version": "2.1.0", + "version": "2.1.1", "author": "Eric L. Goldstein ", "description": "Hierarchical ESLint configuration collection that intends to be simple to use, layered, and shared with others", "keywords": [