Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies jest-puppeteer, xo and eslint plugins #316

Merged
merged 7 commits into from
Sep 25, 2024

Conversation

david-tejada
Copy link
Owner

This PR updates some dependencies and fixes the consequent linting errors.

  • Update caniuse-lite to 1.0.30001662
  • Update @babel/traverse to 7.24.7
  • Update jest-puppeteer to 10.1.1
  • Update dependency xo to 0.59.3.
  • Move xo configuration to its own file.
  • Update eslint plugins.
  • New linting rule changes:
    • Replace imports for type imports when importing types.
    • Replace some abbreviations for their full form (e.g. resolve instead of r).
    • Enclose switch cases within brackets.
    • Always include braces in switch cases.
    • Import process instead of using the global variable.
    • Prefer Math.hypot.
    • Prefer type to interface.
    • Prefer parameter properties in classes.
    • Make all Props read-only
    • Prefer replaceAll over replace.
  • Change lib in tsconfig to "ES2022".
    • Simplify code using Array.at().
  • Include properties in classes even when using "implements".
  • Fix hasMatchingKeys parameter types.
  • Make sure content script is initialized before running any command.

…e errors

- Update dependency xo to 0.59.3.
- Move xo configuration to its own file.
- Update eslint plugins.
- New linting rule changes:
  - Replace imports for type imports when importing types.
  - Replace some abbreviations for their full form (e.g. resolve instead of r).
  - Enclose switch cases within brackets.
  - Always include braces in switch cases.
  - Import process instead of using the global variable.
  - Prefer Math.hypot.
  - Prefer type to interface.
  - Prefer parameter properties in classes.
  - Make all Props read-only
  - Prefer replaceAll over replace.
- Change lib in tsconfig to "ES2022".
  - Simplify code using Array.at().
- Include properties in classes even when using "implements".
- Fix hasMatchingKeys parameter types.
Copy link

netlify bot commented Sep 25, 2024

Deploy Preview for voluble-crisp-6e2a75 ready!

Name Link
🔨 Latest commit 5016b0d
🔍 Latest deploy log https://app.netlify.com/sites/voluble-crisp-6e2a75/deploys/66f41adbf31b6000078a839f
😎 Deploy Preview https://deploy-preview-316--voluble-crisp-6e2a75.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@david-tejada david-tejada merged commit c6692dd into main Sep 25, 2024
6 checks passed
@david-tejada david-tejada deleted the update-packages branch September 25, 2024 14:29
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