Skip to content

Conversation

@ncalteen
Copy link
Collaborator

This pull request updates the ESLint configuration to improve compatibility and project resolution, while also removing unused TypeScript configuration files. The main changes focus on simplifying TypeScript project handling for ESLint and cleaning up configuration files.

@ncalteen ncalteen self-assigned this Oct 31, 2025
@ncalteen ncalteen requested a review from a team as a code owner October 31, 2025 15:20
Copilot AI review requested due to automatic review settings October 31, 2025 15:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR simplifies the TypeScript configuration by consolidating tsconfig.base.json into tsconfig.json and removing tsconfig.eslint.json. It also updates ESLint configuration to use TypeScript's newer projectService API and the Node.js import.meta.dirname instead of the __dirname workaround.

  • Consolidated TypeScript configurations into a single tsconfig.json file
  • Updated ESLint to use TypeScript's projectService API with allowDefaultProject
  • Modernized ESLint config to use import.meta.dirname instead of path/fileURLToPath workaround

Reviewed Changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsconfig.json Consolidated base configuration directly into main config, removing the extends clause
tsconfig.eslint.json Deleted - no longer needed with projectService approach
tsconfig.base.json Deleted - configuration merged into tsconfig.json
package-lock.json Updated dependency tree to reflect removed @rollup/rollup-linux-x64-gnu from main dependencies
jest.config.js Updated to reference tsconfig.json instead of tsconfig.eslint.json
eslint.config.mjs Updated to use projectService API and import.meta.dirname; removed path/fileURLToPath imports

@ncalteen ncalteen merged commit 6357ee1 into main Oct 31, 2025
24 checks passed
@ncalteen ncalteen deleted the ncalteen/projectService branch October 31, 2025 15:26
Dunklas added a commit to DeviesDevelopment/workflow-timer that referenced this pull request Nov 13, 2025
 - Consolidate typescript configuration files
 - Use eslint projectService

This is equivalent to actions/typescript-action#1133 in the
typescript-action template.
Dunklas added a commit to DeviesDevelopment/workflow-timer that referenced this pull request Nov 13, 2025
- Consolidate typescript configuration files
 - Use eslint projectService

This is equivalent to
actions/typescript-action#1133 in the
typescript-action template.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants