Skip to content

Commit

Permalink
fix: #1336 (#1342)
Browse files Browse the repository at this point in the history
* fix: #1336
  Allow for natural word breaks on `'`
  • Loading branch information
Jason3S committed Jun 14, 2021
1 parent a4f448d commit 7a0b278
Show file tree
Hide file tree
Showing 27 changed files with 216 additions and 402 deletions.
30 changes: 15 additions & 15 deletions integration-tests/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"path": "php/php-src",
"url": "https://github.com/php/php-src.git",
"commit": "d43bc343ab8ed50c546cac3369edfdcb7493b54d",
"commit": "821a5a123956e94776e294c75c10f192f93b9e15",
"args": [
"--config=${repoConfig}/cspell.json",
"**/*.{md,c,h,php}"
Expand Down Expand Up @@ -36,15 +36,15 @@
{
"path": "wireapp/wire-webapp",
"url": "https://github.com/wireapp/wire-webapp.git",
"commit": "8248e156641f564196422fb710ab2a657ee5fe16",
"commit": "fb6bdf3d4d2b736bcc14980ebad67bd05c249714",
"args": [
"src/script/**/*.{js,ts,tsx,md}"
]
},
{
"path": "typescript-cheatsheets/react",
"url": "https://github.com/typescript-cheatsheets/react.git",
"commit": "ac7786ddd3faf7f91cdf306e2906037e468dfc2c",
"commit": "3c82bc2a9fe993520d9742cf2f0238aa0b313fe2",
"args": [
"**/*.{ts,js,md}"
]
Expand All @@ -60,7 +60,7 @@
{
"path": "wireapp/wire-desktop",
"url": "https://github.com/wireapp/wire-desktop.git",
"commit": "b0e7da24fc6f0b1db1fcb5702f0f4b70565fe8f6",
"commit": "0dcc5d2eaec5b68478bd69f2795f015d460e49ad",
"args": [
"*.md",
"electron/renderer/**/*.jsx",
Expand All @@ -79,7 +79,7 @@
{
"path": "aws-amplify/docs",
"url": "https://github.com/aws-amplify/docs.git",
"commit": "c80a688d047a672e0c37e0c8080f78ec92861fb6",
"commit": "4dc724dbd01c8b2590dcfe02e9ec716598698b4b",
"args": [
"docs/**/*.md"
]
Expand All @@ -97,7 +97,7 @@
{
"path": "prettier/prettier",
"url": "https://github.com/prettier/prettier.git",
"commit": "e2694e2b2102b1a580106a4723c21f1b4775a109",
"commit": "acf9242dd142a042d889ccdac649c367cc76b910",
"args": [
".github/**/*",
"**/*.*"
Expand All @@ -106,7 +106,7 @@
{
"path": "webpack/webpack",
"url": "https://github.com/webpack/webpack.git",
"commit": "6a4cb8e39d717ef3d710eaebd3db31accf229dec",
"commit": "ac97a276a56423bee119812a609e8a845e0a1a1a",
"args": [
"{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}",
"*.md"
Expand All @@ -132,7 +132,7 @@
{
"path": "typescript-eslint/typescript-eslint",
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
"commit": "79b510c00f25d76daf741936682e1222b0c994b5",
"commit": "c7a95ab7efeff9155db801c93b7564b080c26e51",
"args": [
"--config=.cspell.json",
"**/*.{md,ts,js}"
Expand All @@ -141,15 +141,15 @@
{
"path": "graphql/graphql-js",
"url": "https://github.com/graphql/graphql-js.git",
"commit": "9a04b4ce15d82bbe0c86f43e43c3f6481d50ecee",
"commit": "58122ef35f08175c8d054de427b49f570901536e",
"args": [
"**/*.*"
]
},
{
"path": "microsoft/TypeScript-Website",
"url": "https://github.com/microsoft/TypeScript-Website.git",
"commit": "4e30de8dd763bc161d88783cd0045ddf5afd5cc1",
"commit": "febbc837c535c94446bf1b62badd221959d17830",
"args": [
"--config=${repoConfig}/cspell.json",
"**/*.*"
Expand All @@ -162,7 +162,7 @@
"--config=cSpell.json",
"**/*.{md,ts,js}"
],
"commit": "ef7ffaa1ae68ab17dba86d8e0be5fd1fb615ef64"
"commit": "afc5613447fa171fab6b04fb4fc24b14ae1a5c23"
},
{
"path": "pycontribs/jira",
Expand All @@ -175,15 +175,15 @@
{
"path": "exonum/exonum",
"url": "https://github.com/exonum/exonum.git",
"commit": "6f1492ea89524979362bfda08cd9d464200f2d6d",
"commit": "7ea57284641abf651fadc6d878d442268bd409bb",
"args": [
"**/*.{rs,md,py,proto}"
]
},
{
"path": "TheAlgorithms/Python",
"url": "https://github.com/TheAlgorithms/Python.git",
"commit": "b743e442599a5bf7e1cb14d9dc41bd17bde1504c",
"commit": "95a4957d9ed3913c9d73bbafa9f398afb31a839d",
"args": [
"**/*.{md,py}"
]
Expand All @@ -208,7 +208,7 @@
{
"path": "streetsidesoftware/regexp-worker",
"url": "https://github.com/streetsidesoftware/regexp-worker",
"commit": "9a9485b5a27f76c6bc74fc07c08f2c1fee1577fd",
"commit": "f033baddffb05f43c4c215d291a748ffc0aa0c8f",
"args": [
"**/*.{md,ts}"
]
Expand Down Expand Up @@ -281,7 +281,7 @@
"args": [
"en/**/*.md"
],
"commit": "4f27155b8425119a10d5cfb2d040dbe877bb843b"
"commit": "165dc45bd31449019425b28b2ed48f78b02710a2"
}
]
}
4 changes: 3 additions & 1 deletion integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
},
"scripts": {
"build": "tsc -p .",
"clean": "rimraf repositories/temp dist temp",
"clean": "npm run clean-dist && npm run clean-repos",
"clean-dist": "rimraf dist",
"clean-repos": "rimraf repositories/temp temp",
"clean-build": "npm run clean && npm run build",
"integration-tests": "node tester.js check -f",
"test-jest": "jest",
Expand Down
6 changes: 2 additions & 4 deletions integration-tests/snapshots/AdaDoom3/AdaDoom3/snapshot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Repository: AdaDoom3/AdaDoom3
Url: "https://github.com/AdaDoom3/AdaDoom3.git"
Args: ["**/*.*"]
Lines:
CSpell: Files checked: 103, Issues found: 3283 in 101 files
CSpell: Files checked: 103, Issues found: 3281 in 101 files
exit code: 1
./Engine/Assembly/PPC/neo-engine-cpu.adb:5:78 - Unknown word (Squirek) -- Copyright (C) 2016 Justin Squirek
./Engine/Assembly/x86-64/neo-engine-cpu.adb:101:111 - Unknown word (OSXSAVE) -- ECX_Register, 27); -- OSXSAVE
Expand Down Expand Up @@ -1034,7 +1034,6 @@ Lines:
./Tools/stk_track.py:1762:17 - Unknown word (rcoord) -- rcoord = self.mesh.vertices
./Tools/stk_track.py:1767:21 - Unknown word (nextco) -- nextco = self.mesh.vertices
./Tools/stk_track.py:1814:58 - Unknown word (succesor) -- More than one potential succesor found for right driveline
./Tools/stk_track.py:1933:69 - Unknown word (driveline's) -- which is closest to this driveline's
./Tools/stk_track.py:2078:48 - Unknown word (pushback) -- getSceneProperty(scene, "pushback", "true"
./Tools/stk_track.py:2081:48 - Unknown word (autorescue) -- getSceneProperty(scene, "autorescue", "true" )
./Tools/stk_track.py:2102:54 - Unknown word (sunlensflare) -- getSceneProperty(scene, "sunlensflare", "false") == "true
Expand All @@ -1049,7 +1048,7 @@ Lines:
./Tools/stk_track.py:2267:11 - Unknown word (phyiscs) -- # phyiscs only object can only
./Tools/stk_track.py:2268:28 - Unknown word (physicsonly) -- if interaction == "physicsonly":
./Tools/stk_track.py:2277:9 - Unknown word (lodstring) -- lodstring = self.getModelDefinitionStri
./Tools/stk_track.py:2292:36 - Unknown word (driveable) -- getObjectProperty(obj, "driveable", "false") == "true
./Tools/stk_track.py:2292:36 - Unknown word (driveable) -- getObjectProperty(obj, "driveable", "false") == "true
./Tools/stk_track.py:2295:36 - Unknown word (forcedbloom) -- getObjectProperty(obj, "forcedbloom", "false") == "true
./Tools/stk_track.py:2298:36 - Unknown word (shadowpass) -- getObjectProperty(obj, "shadowpass", "true") == "false
./Tools/stk_track.py:2307:37 - Unknown word (skyboxobject) -- getObjectProperty(obj, "skyboxobject", "false") == "true
Expand Down Expand Up @@ -1141,7 +1140,6 @@ Lines:
./neo.gpr:98:55 - Unknown word (traceback) -- -- Store traceback in exceptions
./neo.gpr:99:25 - Unknown word (Xlinker) -- Switch_Linker := ("-Xlinker", -- Setup
./readme.md:27:2 - Unknown word (gprbuild) -- `gprbuild -p -P neo.gpr `
./readme.md:40:1 - Unknown word (Github's) -- Github's tutorial on installing
./runsdk.hta:161:13 - Unknown word (APPDATA) -- var APPDATA_FOLDER = '%APPDATA%
./runsdk.hta:168:37 - Unknown word (HKLM) -- ARCHITECTURE_REG_KEY = 'HKLM\\SYSTEM\\CurrentControlSet
./runsdk.hta:16:52 - Unknown word (scriptable) -- tools or performing scriptable actions necessary for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Repository: Azure/azure-rest-api-specs
Url: "https://github.com/Azure/azure-rest-api-specs.git"
Args: ["--config=cSpell.json","**/*.{md,ts,js}"]
Lines:
CSpell: Files checked: 1570, Issues found: 1568 in 528 files
CSpell: Files checked: 1570, Issues found: 1554 in 519 files
exit code: 1
./README.md:20:179 - Unknown word (Dataplane) -- RPs' Resource types or Dataplane API versions that represent
./README.md:30:134 - Unknown word (dataplane) -- per resource type or dataplane service version. This
Expand Down Expand Up @@ -67,9 +67,9 @@ Lines:
./specification/adp/resource-manager/readme.md:30:18 - Unknown word (rpaas) -- openapi-subtype: rpaas
./specification/adp/resource-manager/readme.terraform.md:15:1 - Unknown word (gosdk) -- gosdk-folder: services/preview
./specification/advisor/resource-manager/Microsoft.Advisor/stable/2017-04-19/feedback.md:40:20 - Unknown word (Asssignment) -- "policyAsssignmentId":"/subscriptions/
./specification/agfood/data-plane/readme.md:1:3 - Unknown word (agfood) -- # agfood
./specification/agfood/resource-manager/readme.csharp.md:14:40 - Unknown word (agrifood) -- csharp-sdks-folder)/agrifood/Microsoft.Azure.Management
./specification/agfood/resource-manager/readme.go.md:7:27 - Unknown word (armagrifood) -- module-name: sdk/agrifood/armagrifood
./specification/agrifood/data-plane/readme.md:1:3 - Unknown word (agfood) -- # agfood
./specification/agrifood/resource-manager/readme.csharp.md:14:40 - Unknown word (agrifood) -- csharp-sdks-folder)/agrifood/Microsoft.Azure.Management
./specification/agrifood/resource-manager/readme.go.md:7:27 - Unknown word (armagrifood) -- module-name: sdk/agrifood/armagrifood
./specification/apimanagement/control-plane/readme.md:135:57 - Unknown word (somefile) -- Example/stable/2010-01-01/somefile.json
./specification/apimanagement/resource-manager/readme.md:49:56 - Unknown word (apimcontenttypes) -- preview/2021-01-01-preview/apimcontenttypes.json
./specification/apimanagement/resource-manager/readme.md:50:56 - Unknown word (apimdeletedservices) -- preview/2021-01-01-preview/apimdeletedservices.json
Expand All @@ -82,7 +82,6 @@ Lines:
./specification/appconfiguration/resource-manager/readme.md:149:50 - Unknown word (proxied) -- plane level information proxied through the RP and cannot
./specification/applicationinsights/data-plane/Monitor.Exporters/readme.md:29:39 - Unknown word (schemaregistry) -- global settings for the schemaregistry.
./specification/applicationinsights/resource-manager/readme.azureresourceschema.md:68:51 - Unknown word (livetoken) -- preview/2020-06-02-preview/livetoken_API.json
./specification/applicationinsights/resource-manager/readme.cli.md:8:17 - Unknown word (Powershell's) -- # Migrated from Powershell's readme
./specification/appplatform/resource-manager/readme.go.md:8:14 - Unknown word (appplatform) -- namespace: appplatform
./specification/azurearcdata/resource-manager/readme.azureresourceschema.md:9:17 - Unknown word (azurearcdata) -- - tag: schema-azurearcdata-2021-06-01-preview
./specification/azurearcdata/resource-manager/readme.md:63:14 - Unknown word (sdkauto) -- - node sdkauto_afterscript.js azurearcdata
Expand Down Expand Up @@ -117,7 +116,6 @@ Lines:
./specification/confidentialledger/data-plane/readme.md:47:54 - Unknown word (identityservice) -- preview/0.1-preview/identityservice.json
./specification/confidentialledger/data-plane/readme.python.md:36:5 - Unknown word (multiapiscriptledger) -- - multiapiscriptledger: true
./specification/confidentialledger/data-plane/readme.python.md:38:5 - Unknown word (multiapiscriptidentity) -- - multiapiscriptidentity: true
./specification/containerregistry/data-plane/readme.md:113:54 - Unknown word (Docker's) -- used in compliance with Docker's own specs for compatibility
./specification/containerregistry/resource-manager/readme.md:268:4 - Unknown word (Pyhton) -- ## Pyhton
./specification/cosmos-db/data-plane/readme.go.md:8:14 - Unknown word (storagetables) -- namespace: storagetables
./specification/cosmos-db/data-plane/readme.md:49:46 - Unknown word (outputm) -- only supports XML input/outputm which is not supported
Expand All @@ -127,7 +125,7 @@ Lines:
./specification/customerlockbox/resource-manager/readme.csharp.md:14:40 - Unknown word (customerlockbox) -- csharp-sdks-folder)/customerlockbox/management/Microsoft
./specification/customproviders/resource-manager/readme.terraform.md:18:19 - Unknown word (resourceproviders) -- - IdPortion: "resourceproviders"
./specification/databoxedge/resource-manager/readme.python.md:90:84 - Unknown word (datab) -- databoxedge/azure/mgmt/datab
./specification/databricks/resource-manager/readme.md:62:42 - Unknown word (vnetpeering) -- Databricks/stable/2018-04-01/vnetpeering.json
./specification/databricks/resource-manager/readme.md:86:42 - Unknown word (vnetpeering) -- Databricks/stable/2018-04-01/vnetpeering.json
./specification/datadog/resource-manager/readme.java.md:23:10 - Unknown word (ppackage) -- ### Tag: ppackage-2021-03 and java
./specification/dataprotection/resource-manager/readme.go.md:9:14 - Unknown word (dataprotection) -- namespace: dataprotection
./specification/dataprotection/resource-manager/readme.typescript.md:9:29 - Unknown word (dataprotectionplatform) -- package-name: "@azure/arm-dataprotectionplatform"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Repository: MartinThoma/LaTeX-examples
Url: "https://github.com/MartinThoma/LaTeX-examples.git"
Args: ["**/*.{md,tex}"]
Lines:
CSpell: Files checked: 1402, Issues found: 4317 in 523 files
CSpell: Files checked: 1402, Issues found: 4316 in 522 files
exit code: 1
./README.md:12:35 - Unknown word (Wikpedia) -- can be found on [my Wikpedia Commons user page](http
./README.md:20:26 - Unknown word (seperate) -- Every LaTeX file is in a seperate folder and has its own
Expand Down Expand Up @@ -1019,7 +1019,6 @@ Lines:
./documents/source-code-listings/source-code-listings.tex:34:10 - Unknown word (outputspace) -- \def\lst@outputspace{{\ifx\lst@bkgcolor\empty
./documents/source-code-listings/source-code-listings.tex:34:32 - Unknown word (bkgcolor) -- outputspace{{\ifx\lst@bkgcolor\empty\color{white}\else
./documents/source-code-listings/source-code-listings.tex:34:85 - Unknown word (visiblespace) -- lst@bkgcolor\fi\lst@visiblespace}}
./documents/source-code-minted/minted-code-inclusion.tex:13:67 - Unknown word (hyperref's) -- t apply our patch to hyperref's version
./documents/steuergesetz/steuergesetz.tex:22:10 - Unknown word (Abadsfasdf) -- \section{Abadsfasdf}
./documents/steuergesetz/steuergesetz.tex:23:1 - Unknown word (adfasdfasdfasdf) -- adfasdfasdfasdf
./documents/steuergesetz/steuergesetz.tex:24:13 - Unknown word (Badsfadf) -- \subsection{Badsfadf}
Expand Down
Loading

0 comments on commit 7a0b278

Please sign in to comment.