Skip to content

Automated changes (codemode, eslint, search/replace)

Replace all core/jquery.once by core/once

IDE search/replace

Auto lint

yarn run lint:core-js-passing --fix

Auto replace

From core/ directory find ./{misc,themes,modules,profiles} -name "*.es6.js" > js-files.txt ./node_modules/.bin/jscodeshift --extensions=es6.js -P -t scripts/js/codemod/once.js --stdin < js-files.txt

Closes #3183149

Merge request reports

Loading