Loading core/.cspell.json +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ "version": "0.1", "language": "en-US", "allowCompoundWords": false, "globRoot": ".", "ignorePaths": [ "**/.*.json", ".*ignore", Loading core/package.json +2 −2 Original line number Diff line number Diff line Loading @@ -20,9 +20,9 @@ "lint:yaml": "node ./node_modules/eslint/bin/eslint.js --ext .yml .", "test:nightwatch": "node -r dotenv-safe/config ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js", "prettier": "prettier --write \"./**/*.js\"", "spellcheck": "cspell", "spellcheck": "cspell -c .cspell.json", "spellcheck:make-drupal-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn -s spellcheck:core --unique --wordsOnly | tr '[:upper:]' '[:lower:]' | tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt", "spellcheck:core": "cspell \"**/*\" \".*\" \"../composer/**/*\" \"../composer.json\"", "spellcheck:core": "yarn spellcheck --root .. \"core/**/*\" \"composer/**/*\" \"composer.json\"", "vendor-update": "node ./scripts/js/vendor-update.js", "watch:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js --watch", "build:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js", Loading core/scripts/dev/commit-code-check.sh +1 −1 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ fi # Check all files for spelling in one go for better performance. yarn run -s spellcheck --no-must-find-files -c $TOP_LEVEL/core/.cspell.json $ABS_FILES yarn run -s spellcheck --no-must-find-files --root $TOP_LEVEL $ABS_FILES if [ "$?" -ne "0" ]; then # If there are failures set the status to a number other than 0. FINAL_STATUS=1 Loading Loading
core/.cspell.json +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ "version": "0.1", "language": "en-US", "allowCompoundWords": false, "globRoot": ".", "ignorePaths": [ "**/.*.json", ".*ignore", Loading
core/package.json +2 −2 Original line number Diff line number Diff line Loading @@ -20,9 +20,9 @@ "lint:yaml": "node ./node_modules/eslint/bin/eslint.js --ext .yml .", "test:nightwatch": "node -r dotenv-safe/config ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js", "prettier": "prettier --write \"./**/*.js\"", "spellcheck": "cspell", "spellcheck": "cspell -c .cspell.json", "spellcheck:make-drupal-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn -s spellcheck:core --unique --wordsOnly | tr '[:upper:]' '[:lower:]' | tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt", "spellcheck:core": "cspell \"**/*\" \".*\" \"../composer/**/*\" \"../composer.json\"", "spellcheck:core": "yarn spellcheck --root .. \"core/**/*\" \"composer/**/*\" \"composer.json\"", "vendor-update": "node ./scripts/js/vendor-update.js", "watch:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js --watch", "build:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js", Loading
core/scripts/dev/commit-code-check.sh +1 −1 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ fi # Check all files for spelling in one go for better performance. yarn run -s spellcheck --no-must-find-files -c $TOP_LEVEL/core/.cspell.json $ABS_FILES yarn run -s spellcheck --no-must-find-files --root $TOP_LEVEL $ABS_FILES if [ "$?" -ne "0" ]; then # If there are failures set the status to a number other than 0. FINAL_STATUS=1 Loading