Skip to content

Commit

Permalink
fix: integration tests cspell version (#2957)
Browse files Browse the repository at this point in the history
* fix: integration tests cspell version
* Update dictionaries and snapshots
  • Loading branch information
Jason3S authored May 28, 2022
1 parent 2bd319e commit 3786ae2
Show file tree
Hide file tree
Showing 19 changed files with 86,863 additions and 4,617 deletions.
91,335 changes: 86,810 additions & 4,525 deletions integration-tests/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"vscode-uri": "^3.0.3"
},
"devDependencies": {
"@cspell/cspell-bundled-dicts": "^6.1.0-alpha.0",
"@cspell/dict-de-de": "^2.1.0",
"@types/mkdirp": "^1.0.2",
"@types/node": "^17.0.36",
Expand Down
5 changes: 1 addition & 4 deletions integration-tests/snapshots/aws-amplify/docs/snapshot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ Repository: aws-amplify/docs
Url: "https://github.com/aws-amplify/docs.git"
Args: ["**/*.{md,mdx}"]
Lines:
CSpell: Files checked: 1354, Issues found: 25 in 10 files
CSpell: Files checked: 1354, Issues found: 7 in 5 files
exit code: 1
./src/fragments/lib/auth/flutter/device_features/20_forgetDevice.mdx:20:55 - Unknown word (bcfa) -- _38284cea-6c7f-4a8c-bcfa-ac8946a0d1eb');
./src/fragments/lib/client-configuration/js/js-configuration.mdx:105:30 - Unknown word (testappa) -- user_files_s3_bucket: 'testappa321fb103f1f2ae6a4d25d
./src/fragments/lib/geo/android/search/20_search_by_coordinates.mdx:3:58 - Unknown word (Geocoder) -- )` API is a reverse Geocoder that takes a coordinate
./src/fragments/lib/geo/ios/search/30_location_search_map.mdx:48:45 - Unknown word (geocoder) -- AMLSearchBar](/images/ios-geocoder-search-box-map.png)
./src/fragments/ui-legacy/auth/react/tutorial.mdx:85:138 - Unknown word (authentcator) -- Guide](/ui-legacy/auth/authentcator/q/framework/react).
./src/pages/cli/project/monorepo.mdx:89:28 - Unknown word (nsswamin) -- your schema at /Users/nsswamin/workspace/Experiments
./src/pages/cli/project/troubleshooting.mdx:57:24 - Unknown word (unmanaged) -- Push failures from unmanaged changes to cloud resources
./src/pages/cli/usage/mock.mdx:220:30 - Unknown word (deddd) -- ClientDatabasePrefix": "deddd_AMAZON_COGNITO_USER
11 changes: 2 additions & 9 deletions integration-tests/snapshots/eslint/eslint/report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Url: https://github.com/eslint/eslint
Args: ["**","--exclude=bin/**","--exclude=CHANGELOG.md","--exclude=_data","--exclude=tests/bench/large.js","--exclude=docs/src/_includes","--exclude=docs/src/assets/{fonts,s?css,images}"]
Summary:
files: 1798
filesWithIssues: 1218
issues: 5464
filesWithIssues: 1216
issues: 5337
errors: 0
Errors: []

Expand Down Expand Up @@ -223,7 +223,6 @@ issues:
- "docs/src/user-guide/command-line-interface.md:376:21 customformat U npx eslint -f ./customformat.js file.js"
- "docs/src/user-guide/command-line-interface.md:442:11 Autofixed U **Note:** Autofixed files are not placed"
- "docs/src/user-guide/configuring/configuration-files.md:48:29 myfiletotest U eslint -c myconfig.json myfiletotest.js"
- "docs/src/user-guide/configuring/configuration-files.md:221:87 airbnb U name. For example, `airbnb` resolves as `eslint"
- "docs/src/user-guide/configuring/ignoring-code.md:36:186 subdir U foo.js` but not `lib/subdir/foo.js`."
- "docs/src/user-guide/configuring/ignoring-code.md:102:200 jshintignore U example, you can use `.jshintignore` file because it has"
- "docs/src/user-guide/configuring/ignoring-code.md:110:186 globbing U not be used. Note that globbing rules in `.eslintignore"
Expand Down Expand Up @@ -264,7 +263,6 @@ issues:
- "docs/src/user-guide/migrating-to-7.0.0.md:121:3 Dotfiles U * Dotfiles (`.*`)"
- "docs/src/user-guide/migrating-to-7.0.0.md:212:23 cliengine U <a name=\"deprecate-cliengine\"></a> The `CLIEngine"
- "docs/src/user-guide/migrating-to-8.0.0.md:22:13 codeframe U * [Removed `codeframe` and `table` formatters"
- "karma.conf.js:49:22 preprocessors U * available preprocessors: https://npmjs.org/browse"
- "lib/cli-engine/cli-engine.js:47:4 Typedefs U // Typedefs"
- "lib/cli-engine/formatters/html.js:46:47 Neue U family:Arial, \"Helvetica Neue\", Helvetica, sans-serif"
- "lib/cli-engine/formatters/html.js:222:66 noopener U target=\"_blank\" rel=\"noopener noreferrer\">${ruleId"
Expand All @@ -281,8 +279,6 @@ issues:
- "lib/config/rule-validator.js:130:16 Precompile U // Precompile and cache validator"
- "lib/eslint/eslint.js:107:52 stringss U an array of non-empty stringss or not."
- "lib/eslint/eslint.js:602:12 thirdparty U * - A thirdparty formatter name:"
- "lib/linter/code-path-analysis/code-path-analyzer.js:329:31 finalizer U } else if (parent.finalizer === node) {"
- "lib/linter/code-path-analysis/code-path-state.js:95:24 Finalizer U if (context.hasFinalizer && context.position"
- "lib/linter/code-path-analysis/code-path-state.js:159:31 unflattened U {CodePathSegment[]} unflattenedFromSegments Segments"
- "lib/linter/code-path-analysis/code-path-state.js:913:23 Segs U const prevSegsOfLeavingSegment = [headOfLeav"
- "lib/linter/code-path-analysis/code-path.js:138:34 Omittable U param {Object} [options] Omittable."
Expand Down Expand Up @@ -406,7 +402,6 @@ issues:
- "README.md:286:1 Yeon U YeonJuan"
- "README.md:290:5 teamend U <!--teamend-->"
- "README.md:297:5 sponsorsstart U <!--sponsorsstart-->"
- "README.md:300:256 Airbnb U 7d66/logo.png\" alt=\"Airbnb\" height=\"96\"></a> <a"
- "README.md:300:522 Substack U u/53023767?v=4\" alt=\"Substack\" height=\"96\"></a></p"
- "README.md:302:119 launchdarkly U bb9e/logo.png\" alt=\"launchdarkly\" height=\"32\"></a> <a"
- "README.md:302:252 Nrwl U logo.png\" alt=\"Nx (by Nrwl)\" height=\"32\"></a>"
Expand Down Expand Up @@ -635,7 +630,6 @@ issues:
- "tests/performance/jshint.js:1237:4 maxparams U maxparams : false, // {int"
- "tests/performance/jshint.js:1238:4 maxcomplexity U maxcomplexity: false, // {int} max"
- "tests/performance/jshint.js:1244:4 latedef U latedef : false // warn"
- "tests/performance/jshint.js:1271:4 eqeq U eqeq : \"eqeqeq\","
- "tests/performance/jshint.js:1280:3 functionicity U functionicity = ["
- "tests/performance/jshint.js:1285:3 funct U funct, // The current function"
- "tests/performance/jshint.js:1290:3 inblock U inblock,"
Expand Down Expand Up @@ -719,7 +713,6 @@ issues:
- "tests/performance/jshint.js:7919:42 gzipped U the minified (but not gzipped) version:"
- "tests/performance/jshint.js:8006:10 foldl U // or `foldl`. Delegates to **ECMAScript"
- "tests/performance/jshint.js:8026:62 foldr U reduce, also known as `foldr`."
- "tests/performance/jshint.js:8417:75 MSIE U m looking at you, **MSIE**),"
- "tests/performance/jshint.js:8506:30 hasher U memoize = function(func, hasher) {"
- "tests/performance/jshint.js:8726:25 egal U // See the Harmony `egal` proposal: http://wiki"
- "tests/performance/jshint.js:8852:22 inspectable U // there isn't any inspectable \"Arguments\" type."
Expand Down
9 changes: 1 addition & 8 deletions integration-tests/snapshots/eslint/eslint/snapshot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Repository: eslint/eslint
Url: "https://github.com/eslint/eslint"
Args: ["**","--exclude=bin/**","--exclude=CHANGELOG.md","--exclude=_data","--exclude=tests/bench/large.js","--exclude=docs/src/_includes","--exclude=docs/src/assets/{fonts,s?css,images}"]
Lines:
CSpell: Files checked: 1798, Issues found: 5464 in 1218 files
CSpell: Files checked: 1798, Issues found: 5337 in 1216 files
exit code: 1
./LICENSE:1:58 - Unknown word (openjsf) -- other contributors, <www.openjsf.org>
./Makefile.js:1000:18 - Unknown word (Multifiles) -- function downloadMultifilesTestTarget(cb) {
Expand Down Expand Up @@ -31,7 +31,6 @@ Lines:
./README.md:286:1 - Unknown word (Yeon) -- YeonJuan
./README.md:290:5 - Unknown word (teamend) -- <!--teamend-->
./README.md:297:5 - Unknown word (sponsorsstart) -- <!--sponsorsstart-->
./README.md:300:256 - Unknown word (Airbnb) -- 7d66/logo.png" alt="Airbnb" height="96"></a> <a
./README.md:300:522 - Unknown word (Substack) -- u/53023767?v=4" alt="Substack" height="96"></a></p
./README.md:302:119 - Unknown word (launchdarkly) -- bb9e/logo.png" alt="launchdarkly" height="32"></a> <a
./README.md:302:252 - Unknown word (Nrwl) -- logo.png" alt="Nx (by Nrwl)" height="32"></a>
Expand Down Expand Up @@ -248,7 +247,6 @@ Lines:
./docs/src/user-guide/command-line-interface.md:376:21 - Unknown word (customformat) -- npx eslint -f ./customformat.js file.js
./docs/src/user-guide/command-line-interface.md:37:98 - Unknown word (pnpm) -- //yarnpkg.com/) or [pnpm](https://pnpm.io/) to
./docs/src/user-guide/command-line-interface.md:442:11 - Unknown word (Autofixed) -- **Note:** Autofixed files are not placed
./docs/src/user-guide/configuring/configuration-files.md:221:87 - Unknown word (airbnb) -- name. For example, `airbnb` resolves as `eslint
./docs/src/user-guide/configuring/configuration-files.md:48:29 - Unknown word (myfiletotest) -- eslint -c myconfig.json myfiletotest.js
./docs/src/user-guide/configuring/ignoring-code.md:102:200 - Unknown word (jshintignore) -- example, you can use `.jshintignore` file because it has
./docs/src/user-guide/configuring/ignoring-code.md:110:186 - Unknown word (globbing) -- not be used. Note that globbing rules in `.eslintignore
Expand Down Expand Up @@ -290,7 +288,6 @@ Lines:
./docs/src/user-guide/migrating-to-7.0.0.md:121:3 - Unknown word (Dotfiles) -- * Dotfiles (`.*`)
./docs/src/user-guide/migrating-to-7.0.0.md:212:23 - Unknown word (cliengine) -- <a name="deprecate-cliengine"></a> The `CLIEngine
./docs/src/user-guide/migrating-to-8.0.0.md:22:13 - Unknown word (codeframe) -- * [Removed `codeframe` and `table` formatters
./karma.conf.js:49:22 - Unknown word (preprocessors) -- * available preprocessors: https://npmjs.org/browse
./lib/cli-engine/cli-engine.js:47:4 - Unknown word (Typedefs) -- // Typedefs
./lib/cli-engine/formatters/html.js:222:66 - Unknown word (noopener) -- target="_blank" rel="noopener noreferrer">${ruleId
./lib/cli-engine/formatters/html.js:222:75 - Unknown word (noreferrer) -- blank" rel="noopener noreferrer">${ruleId ? ruleId
Expand All @@ -307,10 +304,8 @@ Lines:
./lib/config/rule-validator.js:130:16 - Unknown word (Precompile) -- // Precompile and cache validator
./lib/eslint/eslint.js:107:52 - Unknown word (stringss) -- an array of non-empty stringss or not.
./lib/eslint/eslint.js:602:12 - Unknown word (thirdparty) -- * - A thirdparty formatter name:
./lib/linter/code-path-analysis/code-path-analyzer.js:329:31 - Unknown word (finalizer) -- } else if (parent.finalizer === node) {
./lib/linter/code-path-analysis/code-path-state.js:159:31 - Unknown word (unflattened) -- {CodePathSegment[]} unflattenedFromSegments Segments
./lib/linter/code-path-analysis/code-path-state.js:913:23 - Unknown word (Segs) -- const prevSegsOfLeavingSegment = [headOfLeav
./lib/linter/code-path-analysis/code-path-state.js:95:24 - Unknown word (Finalizer) -- if (context.hasFinalizer && context.position
./lib/linter/code-path-analysis/code-path.js:138:34 - Unknown word (Omittable) -- param {Object} [options] Omittable.
./lib/linter/code-path-analysis/debug-helpers.js:105:54 - Unknown word (fillcolor) -- style=\"rounded,filled\",fillcolor=white];\n" +
./lib/linter/code-path-analysis/debug-helpers.js:109:45 - Unknown word (doublecircle) -- final[label=\"\",shape=doublecircle,style=filled,fillcolor
Expand Down Expand Up @@ -613,7 +608,6 @@ Lines:
./tests/performance/jshint.js:1237:4 - Unknown word (maxparams) -- maxparams : false, // {int
./tests/performance/jshint.js:1238:4 - Unknown word (maxcomplexity) -- maxcomplexity: false, // {int} max
./tests/performance/jshint.js:1244:4 - Unknown word (latedef) -- latedef : false // warn
./tests/performance/jshint.js:1271:4 - Unknown word (eqeq) -- eqeq : "eqeqeq",
./tests/performance/jshint.js:1280:3 - Unknown word (functionicity) -- functionicity = [
./tests/performance/jshint.js:1285:3 - Unknown word (funct) -- funct, // The current function
./tests/performance/jshint.js:1290:3 - Unknown word (inblock) -- inblock,
Expand Down Expand Up @@ -717,7 +711,6 @@ Lines:
./tests/performance/jshint.js:816:2 - Unknown word (Droppables) -- Droppables : false,
./tests/performance/jshint.js:821:2 - Unknown word (Scriptaculous) -- Scriptaculous : false
./tests/performance/jshint.js:837:10 - Unknown word (maxlen) -- /*jshint maxlen:1000 */
./tests/performance/jshint.js:8417:75 - Unknown word (MSIE) -- m looking at you, **MSIE**),
./tests/performance/jshint.js:8506:30 - Unknown word (hasher) -- memoize = function(func, hasher) {
./tests/performance/jshint.js:863:41 - Unknown word (jscript) -- vascriptURL = /^(?:javascript|jscript|ecmascript|vbscript
./tests/performance/jshint.js:863:75 - Unknown word (livescript) -- ecmascript|vbscript|mocha|livescript)\s*:/i;
Expand Down
5 changes: 1 addition & 4 deletions integration-tests/snapshots/liriliri/licia/snapshot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Repository: liriliri/licia
Url: "https://github.com/liriliri/licia.git"
Args: ["**/*.*"]
Lines:
CSpell: Files checked: 1400, Issues found: 384 in 89 files
CSpell: Files checked: 1400, Issues found: 376 in 88 files
exit code: 1
./CHANGELOG.md:262:26 - Unknown word (unenumerable) -- feat(allKeys): support unenumerable and symbol
./DOC.md:10292:10 - Unknown word (dasherize) -- Create a dasherize version.
Expand Down Expand Up @@ -59,7 +59,6 @@ Lines:
./src/dateFormat.js:147:61 - Unknown word (SZWN) -- ?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g;
./src/dateFormat.js:148:28 - Unknown word (PMCEA) -- regTimezone = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain
./src/deburr.js:24:35 - Unknown word (deburred) -- replace(regLatin, key => deburredLetters[key])
./src/detectBrowser.js:37:31 - Unknown word (msie) -- ieVer = getVer(ua, 'msie ');
./src/detectBrowser.js:80:17 - Unknown word (chrom) -- chrome: /(?!chrom.*opr)chrom(?:e|ium)
./src/fullscreen.js:86:10 - Unknown word (mozfullscreenchange) -- 'mozfullscreenchange',
./src/fullscreen.js:87:10 - Unknown word (mozfullscreenerror) -- 'mozfullscreenerror'
Expand Down Expand Up @@ -151,7 +150,6 @@ Lines:
./test/abbrev.js:55:13 - Unknown word (foldin) -- foldin: 'folding',
./test/abbrev.js:67:10 - Unknown word (acde) -- 'acde',
./test/css.js:136:47 - Unknown word (webfont) -- fonts/OpenSans-Regular-webfont.woff2") format("woff
./test/detectBrowser.js:10:39 - Unknown word (MSIE) -- Mozilla/5.0 (Windows; U; MSIE 6.0; Windows NT 5.1
./test/detectBrowser.js:37:63 - Unknown word (KHTML) -- AppleWebKit/537.36 (KHTML, like Gecko) Chrome
./test/fileType.js:13:15 - Unknown word (AQABAAAAADs) -- ['R0lGODlhAQABAAAAADs=', 'gif'],
./test/fileType.js:14:13 - Unknown word (IAAABXRUJQ) -- ['UklGRhIAAABXRUJQVlA4TAYAAAAvQWxvAGs=
Expand All @@ -161,7 +159,6 @@ Lines:
./test/isMobile.js:12:170 - Unknown word (Xiao) -- Mobile Safari/537.36 XiaoMi/MiuiBrowser/8.0.1
./test/isMobile.js:12:177 - Unknown word (Miui) -- Safari/537.36 XiaoMi/MiuiBrowser/8.0.11';
./test/isMobile.js:12:51 - Unknown word (Redmi) -- Android 5.0.2; zh-cn; Redmi Note 2 Build/LRX22G
./test/lazyImport.js:99:43 - Unknown word (asyncfunction) -- async'))).to.equal('asyncfunction');
./test/pad.js:6:22 - Unknown word (babab) -- ['ab', 5, 'ab', 'babab'],
./test/stringifyAll.js:149:9 - Unknown word (inifinity) -- inifinity: Number.POSITIVE_INFINITY
./test/stringifyAll.js:150:17 - Unknown word (Inifinity) -- negativeInifinity: Number.NEGATIVE_INFINITY
Expand Down
5 changes: 1 addition & 4 deletions integration-tests/snapshots/mdx-js/mdx/report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Args: ["--config=${repoConfig}/cspell.json","**/*.*"]
Summary:
files: 160
filesWithIssues: 100
issues: 1363
issues: 1349
errors: 0
Errors: []

Expand Down Expand Up @@ -247,9 +247,6 @@ issues:
- "docs/guides/embed.server.mdx:34:12 Oembed U import fauxOembedTransformer from '@remark"
- "docs/guides/embed.server.mdx:34:65 oembed U embedder/transformer-oembed'"
- "docs/guides/embed.server.mdx:74:10 codepen U Here’s a codepen, and some other blog"
- "docs/guides/gfm.server.mdx:45:4 Tasklist U ## Tasklist"
- "docs/guides/gfm.server.mdx:82:65 fnref U 1\" id=\"user-content-fnref-1\" data-footnote-ref"
- "docs/guides/gfm.server.mdx:113:57 backref U fnref-1\" data-footnote-backref className=\"data-footnote"
- "docs/guides/math.server.mdx:18:52 mathjax U (KaTeX) or [`rehype-mathjax`][rehype-mathjax]"
- "docs/guides/math.server.mdx:61:34 mathml U span className=\"katex-mathml\">"
- "docs/guides/mdx-on-demand.server.mdx:97:27 compilefile U compile]: /packages/mdx/#compilefile-options"
Expand Down
5 changes: 1 addition & 4 deletions integration-tests/snapshots/mdx-js/mdx/snapshot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Repository: mdx-js/mdx
Url: "https://github.com/mdx-js/mdx"
Args: ["--config=../../../../config/repositories/mdx-js/mdx/cspell.json","**/*.*"]
Lines:
CSpell: Files checked: 160, Issues found: 1363 in 100 files
CSpell: Files checked: 160, Issues found: 1349 in 100 files
exit code: 1
./docs/_asset/index.client.js:15:9 - Unknown word (nljson) -- const nljson = document.querySelector
./docs/_asset/index.css:286:21 - Unknown word (squircle) -- mask-image: paint(squircle);
Expand Down Expand Up @@ -242,9 +242,6 @@ Lines:
./docs/guides/embed.server.mdx:34:12 - Unknown word (Oembed) -- import fauxOembedTransformer from '@remark
./docs/guides/embed.server.mdx:34:65 - Unknown word (oembed) -- embedder/transformer-oembed'
./docs/guides/embed.server.mdx:74:10 - Unknown word (codepen) -- Here’s a codepen, and some other blog
./docs/guides/gfm.server.mdx:113:57 - Unknown word (backref) -- fnref-1" data-footnote-backref className="data-footnote
./docs/guides/gfm.server.mdx:45:4 - Unknown word (Tasklist) -- ## Tasklist
./docs/guides/gfm.server.mdx:82:65 - Unknown word (fnref) -- 1" id="user-content-fnref-1" data-footnote-ref
./docs/guides/math.server.mdx:18:52 - Unknown word (mathjax) -- (KaTeX) or [`rehype-mathjax`][rehype-mathjax]
./docs/guides/math.server.mdx:61:34 - Unknown word (mathml) -- span className="katex-mathml">
./docs/guides/mdx-on-demand.server.mdx:97:27 - Unknown word (compilefile) -- compile]: /packages/mdx/#compilefile-options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Args: ["--config=${repoConfig}/cspell.json","**/*.*"]
Summary:
files: 746
filesWithIssues: 196
issues: 769
issues: 759
errors: 0
Errors: []

Expand Down Expand Up @@ -341,8 +341,6 @@ issues:
- "packages/typescriptlang-org/src/templates/pages/index.tsx:64:23 ikey U const P = (props: { ikey: keyof typeof indexCopy"
- "packages/typescriptlang-org/src/templates/pages/why-create-typescript.tsx:165:71 behaviour U file can affect the behaviour of any number of other"
- "packages/typescriptlang-org/src/templates/tsconfigReference.tsx:97:11 subnavs U const subnavs = document.querySelectorAll"
- "packages/typescriptlang-org/static/js/docsearch.js:2:1642 Msie U map:null,mixin:null,isMsie:function(agentString"
- "packages/typescriptlang-org/static/js/docsearch.js:2:1734 msie U navigator.userAgent}if(/(msie|trident)/i.test(agentString"
- "packages/typescriptlang-org/static/js/docsearch.js:2:3184 clazz U className:function(prefix,clazz,skipDot){return(skipDot"
- "packages/typescriptlang-org/static/js/docsearch.js:2:6920 darkorchid U goldenrod\",\"dodgerblue\",\"darkorchid\",\"crimson\"];function"
- "packages/typescriptlang-org/static/js/docsearch.js:2:16164 Zepto U function(window){var Zepto=function(){var undefined"
Expand Down
Loading

0 comments on commit 3786ae2

Please sign in to comment.