-
-
Notifications
You must be signed in to change notification settings - Fork 271
chore: update eslint #1789
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
chore: update eslint #1789
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
Files not reviewed (1)
- martin/martin-ui/package.json: Language not supported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! At some point we should rework CI a bit so it can auto-merge demo things without admin approval - i.e. make it so that the final CI task would pass if dependent jobs are skipped
Cross.toml
Outdated
"fnm default 22", | ||
# verify installation | ||
"node --version", | ||
"npm --version", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to bump
- node to next major as required by eslint
- Bumping node requires newer libc
- newer libc requiring cross update
- cross update fucks with node in a major way 😮💨
But npm is still not quite installed in the next step (in the build script). Unsure where this is breaking apart.
Will need to look into how cross is really working.
maybe a symlink is missing, maybe more.
@nyurik @sharkAndshark I am a bit fed up with cross. What would you think about a "boring" docker build via zigbuild? Would gating all-arch docker builds on main and for the others building and testing separate images be an option? |
well, first thing first - lets not use |
Well if 0.3 were released, then choosing Troubleshooting cross is a thorough pain. No clue what it does or why it fails.
I would hope that the docker route would at least be a reproducible build. |
heh, i hear you, it does sound like a major pain. My only concern is that I do not want us to own even bigger part of the build process if we can avoid it... and yes, that's a big "if". I did spend a lot of time dealing with cross a while back, and was hoping to never learn more of it... alas Looking at their repo, it is still fairly active, and the number of test targets and the complexity of testing overall is scary - which is what i would hope to avoid |
#1909 replaces this |
Our frontend dependency on
eslint
is a bit dated. This PR migrates them to newer versions.Eslint was changed to their new configuration format.
Bumping
eslint
requires bumpingnode
requires bumpingcross
(due to libc)Splitting this into this and #1792 is likey a good idea
Update:
All non-eslint parts of this PR will be broken out.
This is a hastle as is - as proven by the 29 commits.