fix(deps): upgrade eslint and plugins to 9.39.4#201701
fix(deps): upgrade eslint and plugins to 9.39.4#201701BenyFilho merged 8 commits intowwebjs:mainfrom
Conversation
4db9fb4 to
38b8177
Compare
|
@2hoch1 thanks for reviewing so fast! and thanks for adding the #201702 (stale deps) - i didn't notice this bug and i've downgraded eslint to @9.39.4 in order to test i put this whole repo into a "node:24" docker image without eslint pre-installed, ran and checked the linting output. after fixing minor issues (some |
|
Your changes to |
without this changes the Action fails, and the whole PR is considered "failing" but let me remove those changes from the PR UPD: DONE |
38b8177 to
1b099ce
Compare
|
so, yes, i rolled back changes in the "gitlab actions" and now the "Lint/ Eslint(pull_request)" Check fails in the GH Actions |
|
Your workflow didn’t run because you are a first‑time contributor. The current error is caused by the You can try adjusting the |
yep, I went through this whole process So, i'm going to push that sent... lost, found, subjected to public inquiry, lost again, and finally buried in soft peat commit back ;) the pipeline will be in the "unapproved changes"-state, that's completely out of my control - i don't need it, but the maintainers' help and participation will be required to resolve this. Also: it is not |
|
Make the following changes before merge:
The |
|
i'm updating :
|
ad7b03c to
931339d
Compare
SUMMARY
unrelated changes:
|
|
LGTM |
|
@maxkoryukov Please update the branch. |
because it is linting (not runtime), so why not to use the latest stable Node version
for example `describe` is not considered "global" outside the test files. the same for all other "eslint/mocha" rules - they are applied only to files in `/tests` folder.
931339d to
24da8d6
Compare
|
@purpshell - the branch is updated SUMMARY
unrelated changes:
|
Description
This PR changes (I hope) nothing in the package's code, but it upgrades the
eslintto the newest v10.2.0 with the flat config structure.Testing Summary
I converted the old
.eslintrc.jsonand.eslintignorefiles into the newer "flat" format of eslint config -eslint.config.mjs..mjsfor the config file - because today it is very common to share/copy/paste eslint configs and examples in ESM format.In order to test - i took my previous PRs "as is" and applied
npm run lint:fix- and the new 10.2.0 eslint fixed the code.I've added
@stylisticplugin as well, with its "recommended" config. Because of notes in the migration guideThe "Prettier" integration is preserved, and as its documentation says - it is added to the end of the "flat" config (this way "Prettier" config overrides some options and make Eslint and Prettier work harmoniously)
Type of Change
Checklist
npm test).index.d.ts) have been updated if necessary.example.js) / documentation have been updated if applicable.SUMMARY
@stylisticin favour ofprettier/testsfolderlanguageOptions.ecmaVersionis set to2025unrelated changes:
is-ci- NPM sort packages in "./package.json::dependencies" in the lexicographical order, so it moved down in the list//. No logic affected, i think i did it after i applied@stylistic- but now it is disabled^ignoredError, in practice it is nice to have another pattern, like "__", but the package didn't have any - so i copied the config