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

feat(eslint-config)!: split config packages #50

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Conversation

mcous
Copy link
Member

@mcous mcous commented Nov 27, 2024

Overview

This stack of PRs updates our common JS configs over to their 1.0.0 versions. The main difference between the versions so far and v1 is that (thanks to the ESLint v9 update) the various plugins and configs that we stitch together will be pulled in automatically as dependencies - simplifying setup by removing most required peer dependencies.

  1. ci: release with pnpm publish instead of action #48
  2. feat(prettier-config)!: split configs and use direct dependencies #49
  3. fix(prettier-config): avoid bundling TS build info and deps #51
  4. 🌿 feat(eslint-config)!: split config packages #50
  5. TODO: Update ESLint packages to use ESLint v9 and flat configs

Change log

This PR splits the ESLint config into two separate packages, both of which will be able to contain their relevant dependencies in the next PR

  • @viamrobotics/eslint-config
  • @viamrobotics/eslint-config-svelte

Review requests

I've smoke tested these changes with all the projects in app and it has all behaved as expected

@mcous mcous force-pushed the lint/eslint-config-split branch from 608f058 to bb3b9c0 Compare November 27, 2024 19:36
@mcous mcous changed the title ESLint: split config packages feat(eslint-config)!: split config packages Nov 27, 2024
@mcous mcous force-pushed the lint/eslint-config-split branch from bb3b9c0 to 92341b4 Compare November 27, 2024 22:14
@mcous mcous force-pushed the lint/prettier-config-mjs branch 2 times, most recently from 8208c54 to 78d51c3 Compare December 2, 2024 15:04
@mcous mcous force-pushed the lint/eslint-config-split branch 3 times, most recently from 31406f2 to 876bc2b Compare December 2, 2024 15:17
@mcous mcous force-pushed the lint/prettier-config-mjs branch 2 times, most recently from 7d72ede to db3dcee Compare December 2, 2024 16:16
@mcous mcous force-pushed the lint/eslint-config-split branch 2 times, most recently from 2844936 to fbb4429 Compare December 2, 2024 17:05
@mcous mcous force-pushed the lint/prettier-config-mjs branch 2 times, most recently from 03da2c3 to 190557c Compare December 2, 2024 21:32
@mcous mcous force-pushed the lint/eslint-config-split branch from fbb4429 to c8cba6a Compare December 2, 2024 21:32
@mcous mcous force-pushed the lint/prettier-config-mjs branch from 190557c to d16e201 Compare December 2, 2024 22:06
@mcous mcous force-pushed the lint/eslint-config-split branch 2 times, most recently from d938f33 to a35071b Compare December 2, 2024 22:38
Base automatically changed from lint/prettier-config-mjs to main December 2, 2024 22:43
@mcous mcous force-pushed the lint/eslint-config-split branch 2 times, most recently from ab265b8 to ee49725 Compare December 3, 2024 14:37
@mcous mcous changed the base branch from main to fix/mcous/prettier-bundle December 3, 2024 14:40
@mcous mcous marked this pull request as ready for review December 3, 2024 14:40
Base automatically changed from fix/mcous/prettier-bundle to main December 3, 2024 16:11
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@mcous mcous force-pushed the lint/eslint-config-split branch from ee49725 to abaf2c5 Compare December 3, 2024 16:23
@mcous mcous merged commit e7d663f into main Dec 3, 2024
3 checks passed
@mcous mcous deleted the lint/eslint-config-split branch December 3, 2024 16:42
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.

3 participants