Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In preparation to being moved to core, let's fix violations against core eslint rules.
Steps for testing
- Apply patch from #3227826-2: Preparation for moving CKEditor 5 to core
- Clone this module under
core/modules/ckeditor5
- Run
yarn lint:core-js-passing
incore
directory and ensure there are no errors.
Comment | File | Size | Author |
---|---|---|---|
#7 | interdiff.txt | 545 bytes | lauriii |
#7 | 3227848-7.patch | 434.62 KB | lauriii |
#6 | interdiff.txt | 3.5 KB | lauriii |
#6 | 3227848-6.patch | 434.49 KB | lauriii |
#5 | 3227848-5.patch | 434.01 KB | lauriii |
Comments
Comment #2
lauriiiHere's a first pass. Let's see what the bot says about this.
Comment #3
lauriiiDisabled cspell from some of the generated files.
Comment #4
lauriiiComment #5
lauriiiComment #6
lauriii🙄
Comment #7
lauriii😓
Comment #8
Wim LeersGreen!
But … why is the
yarn.lock
file changing so drastically 🤔🤯Comment #9
lauriiiHow much effort should we put into researching the root cause for that? We haven't updated the yarn.lock since late June and there must be some updates to dependencies of our dependencies that cause these changes. Most of these changes happen automatically as a result of running
yarn install
injs/admin
.Comment #10
Wim LeersNot deep! Just wanted to understand this shockingly large diff.
IOW: you literally only did these things from the IS?
Comment #11
lauriiiDid a bit of digging and it seems like most of the changes are caused by something changing in yarn, which is changing the order of the keys in yarn.lock.
Comment #12
lauriiiMost of the fixes are coming from running
yarn lint:core-js-passing --fix
. However, there were manual changes required to makeyarn lint:core-js-passing
pass because the eslint violation fixer doesn't fix violations that have an impact on code logic. That said, all changes in the patch are required to either makeyarn lint:core-js-passing
or the CI cspell pass.Comment #13
Wim LeersThanks for #11 and #12 — both of those comments really help make me feel more comfortable with this overwhelming diff 😄
Manually skimmed everything. Nothing stands out. Combined with #11+#12, I think it's time to just 🚢this.
Comment #14
Wim Leers