Skip to content

chore: update ESlint config and dependencies#367

Open
rivajunior wants to merge 1 commit intonestjs:masterfrom
rivajunior:update-eslint-config
Open

chore: update ESlint config and dependencies#367
rivajunior wants to merge 1 commit intonestjs:masterfrom
rivajunior:update-eslint-config

Conversation

@rivajunior
Copy link
Copy Markdown

This pull request updates the project's linting and formatting configuration to use the latest ESLint and Prettier versions, modernizes their configuration files, and cleans up related scripts and dependencies. The changes improve maintainability and compatibility with current tooling standards.

Linting and Formatting Configuration Updates:

  • Migrated Prettier configuration from .prettierrc (now removed) to the new prettier.config.mjs file, following Prettier's recommended setup for modern projects. (.prettierrc removed, prettier.config.mjs added) [1] [2]
  • Updated ESLint configuration in eslint.config.mjs to use the new defineConfig and globalIgnores APIs, streamlined the extension and rules setup, and improved TypeScript project service configuration.
  • Updated the lint script in package.json to use ESLint's new globbing behavior by removing explicit file globs.

Dependency Upgrades:

  • Upgraded ESLint, Prettier, TypeScript-ESLint, and related plugins and configs to their latest major versions in package.json to ensure compatibility and access to new features. [1] [2]

Code Quality Improvements:

  • Updated the application bootstrap in src/main.ts to use void bootstrap() to explicitly ignore the returned promise, improving clarity and preventing unhandled promise warnings.

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.

1 participant