Skip to content

maintenance: ESLint, Prettier, Husky#8

Merged
rbonestell merged 3 commits intomainfrom
fix/maintenance
Mar 22, 2025
Merged

maintenance: ESLint, Prettier, Husky#8
rbonestell merged 3 commits intomainfrom
fix/maintenance

Conversation

@rbonestell
Copy link
Copy Markdown
Owner

This pull request includes several changes to improve code quality and maintainability, particularly focusing on ESLint configuration, code formatting, and test improvements. The most important changes include the migration to a new ESLint configuration file, and updates to the .prettierrc file.

ESLint and Prettier Configuration:

  • Migrated from .eslintrc.js to eslint.config.mjs for a modern and modular ESLint configuration. This includes importing necessary plugins and defining default configurations.
  • Updated .prettierrc to use tabs for indentation and set the trailingComma option to es5.

Code Formatting and Linting:

  • Added a pre-commit hook to run linting on staged files using Husky and lint-staged.
  • Enhanced VSCode settings to enforce consistent code formatting and linting rules, including enabling ESLint and Prettier extensions.

Improvements to LocalHttpsProxy:

  • Renamed LocalHttpsProxy interface to ILocalHttpsProxy to disambiguate with the LocalHttpsProxy class.

Package Configuration:

  • Added new scripts and dependencies in package.json to support the new linting and formatting setup.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (2110c3f) to head (89a94e8).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           38        38           
  Branches         8         8           
=========================================
  Hits            38        38           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rbonestell rbonestell merged commit e32f927 into main Mar 22, 2025
7 checks passed
@rbonestell rbonestell deleted the fix/maintenance branch March 22, 2025 16:38
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