Verified Commit 7208feae authored by Dave Long's avatar Dave Long
Browse files

task: #3641733 Cleanup cspell.json

By: quietone
By: smustgrave
parent 270f520c
Loading
Loading
Loading
Loading
Loading
+25 −31
Changes for core/.cspell.json: 25 added lines, 31 removed lines.
Original line number Diff line number Diff line
@@ -4,66 +4,60 @@
    "allowCompoundWords": false,
    "globRoot": ".",
    "ignorePaths": [
      "**/.*.json",
      ".*ignore",
      "../**/composer.json",
      "composer.lock",
      "**/LICENSE.txt",
      "../composer/Metapackage/CoreRecommended/composer.json",
      "../composer/Metapackage/DevDependencies/composer.json",
      "../composer/Plugin/VendorHardening/Config.php",
      ".cspell.json",
      ".deprecation-ignore.txt",
      ".env.example",
      ".gitignore",
      ".phpstan-baseline.php",
      ".prettierignore",
      ".stylelintrc.json",
      "COPYRIGHT.txt",
      "MAINTAINERS.txt",
      "assets/vendor/**",
      "misc/jquery.form.js",
      "lib/Drupal/Component/Diff/**",
      "lib/Drupal/Component/Transliteration/data/**",
      "lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php",
      "**/LICENSE.txt",
      "../**/LICENSE.txt",
      "misc/jquery.form.js",
      "modules/**/Migrate*Test.php",
      "modules/ckeditor5/js/build/*",
      "modules/media/tests/fixtures/oembed/*",
      "modules/navigation/assets/**",
      "modules/system/tests/logo.svgz",
      "node_modules/*",
      "package.json",
      "phpstan*",
      "profiles/demo_umami/modules/demo_umami_content/default_content/languages/es/**/*",
      "profiles/**/tests/**/*Assertions/*",
      "modules/**/tests/**/*Assertions/*",
      "tests/fixtures/config_install/*",
      "tests/fixtures/files/*",
      "tests/fixtures/phpunit_*.xml",
      "tests/Drupal/Tests/Component/Annotation/Doctrine/**",
      "tests/PHPStan/vendor/**",
      "COPYRIGHT.txt",
      "MAINTAINERS.txt",
      "package.json",
      "yarn.lock",
      ".yarnrc.yml",
      ".yarn/*",
      "misc/cspell/dictionary.txt",
      "phpstan*"
      "tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-assets-fixture/assets/.csslintrc",
      "tests/fixtures/config_install/*",
      "tests/fixtures/phpunit_*.xml"
    ],
    "ignoreRegExpList": [
      "^msgstr .*",
      "!!binary .*",
      "%[0-9][0-9A-F]",
      "\\Wi18n",
      "\\x{[0-9A-F]{4,5}}"
      "\\x{[0-9A-F]{4,5}}",
      "^msgstr .*"
    ],
    "dictionaries": [
      "companies",
      "dictionary",
      "drupal",
      "companies",
      "fonts",
      "html",
      "php",
      "softwareTerms"
    ],
    "dictionaryDefinitions": [
      {
        "name": "dictionary",
        "path": "./misc/cspell/dictionary.txt"
      },
      {
        "name": "drupal",
        "path": "./misc/cspell/drupal-dictionary.txt"
      },
      {
        "name": "dictionary",
        "path": "./misc/cspell/dictionary.txt"
      }
     ],
    "flagWords": [
      "blacklist",
+1 −1
Changes for core/package.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
    "prettier": "prettier --write \"./**/*.css\" \"./**/*.js\"",
    "spellcheck": "cspell -c .cspell.json --cache",
    "spellcheck:make-dict": "true > misc/cspell/dictionary.txt && yarn spellcheck:core --unique --words-only | perl -Mopen=locale -pe '$_=lc$_' | LC_ALL=en_US.UTF-8 tr -d \\\\\\\\ | sed s/\\'s\\$// | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",
    "spellcheck:core": "cspell -c .cspell.json --root .. --cache --cache-location core/.cspellcache \"core/**/*\" \"composer/**/*\" \"composer.json\" \".gitlab-ci/*\" \".gitlab-ci.yml\"",
    "spellcheck:core": "cspell -c .cspell.json --root .. --dot --cache --cache-location core/.cspellcache \"core/**/*\" \"composer/**/*\" ",
    "spellcheck:make-drupal-dict": "true > misc/cspell/drupal-dictionary.txt && yarn spellcheck:core --unique --words-only | perl -Mopen=locale -pe '$_=lc$_' | LC_ALL=en_US.UTF-8 tr -d \\\\\\\\ | sed s/\\'s\\$// | LC_ALL=C sort -u -o misc/cspell/drupal-dictionary.txt",
    "vendor-update": "node ./scripts/js/vendor-update.js",
    "watch:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js --watch",