Skip to content

Commit

Permalink
fix: make sure issue.uri is actually a URI. (#1746)
Browse files Browse the repository at this point in the history
* fix: make sure `issue.uri` is actually a URI.
    By accident, `issue.uri` was actual a file path.
* dev: have the integration tests use a reporter.
* dev: Remove any control characters from the report
  • Loading branch information
Jason3S committed Sep 24, 2021
1 parent a75c370 commit 4268057
Show file tree
Hide file tree
Showing 36 changed files with 17,384 additions and 320 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ docs/_site/**
docs/types/cspell-types/**
integration-tests/config/config.json
integration-tests/repositories/*/*/**
integration-tests/snapshots/**
lerna.json
packages/*/dist/
packages/cspell-bundled-dicts/cspell-default.config.js
Expand Down
19 changes: 19 additions & 0 deletions integration-tests/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Program",
"program": "${workspaceFolder}/../bin.js",
"request": "launch",
"cwd": "${workspaceFolder}/repositories/temp/TheAlgorithms/Python",
"console": "integratedTerminal",
"stopOnEntry": true,
"args": [
"-u",
"--no-progress",
"--relative",
"--show-context",
"**/*.{md,py}"
],
"skipFiles": [
"<node_internals>/**"
],
"type": "pwa-node"
},
{
"type": "node",
"request": "launch",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"dictionaries": [
"cpp"
]
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"dictionaries": ["cpp"],
"import": ["../../../../repositories/cspell-reporter.json"]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
// Version of the setting file. Always 0.1
"version": "0.1",
// Version of the setting file. Always 0.2
"version": "0.2",
// language - current active spelling language
"language": "en",
"dictionaryDefinitions": [
Expand All @@ -10,9 +10,7 @@
"description": "Project Words"
}
],
"dictionaries": [
"custom-words"
],
"dictionaries": ["custom-words"],
"languageSettings": [
{
"languageId": "cpp",
Expand All @@ -36,9 +34,6 @@
"ignoreRegExpList": []
}
],
"ignoreWords": [
"tparam",
"NOLINT",
"endcode"
]
"ignoreWords": ["tparam", "NOLINT", "endcode"],
"import": ["../../../../repositories/cspell-reporter.json"]
}
10 changes: 4 additions & 6 deletions integration-tests/config/repositories/mdx-js/mdx/cspell.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"globRoot": "${cwd}",
"ignorePaths": [
"yarn.lock",
"package.json",
"*.min.js"
]
"ignorePaths": ["yarn.lock", "package.json", "*.min.js"],
"import": ["../../../../repositories/cspell-reporter.json"]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"version": "0.1",
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"globRoot": "${cwd}",
"ignorePaths": [
"yarn.lock",
"*.json",
Expand All @@ -26,243 +27,15 @@
"name": "words.txt",
"path": "./words.txt",
"description": "Words in TypeScript-Website"
},
{
"name": "ignore-words",
"path": "./ignore-words.txt",
"description": "Words to ignore.",
"noSuggest": true
}
],
"dictionaries": [
"words.txt"
],
"ignoreWords": [
"Ahh",
"akka",
"anymore",
"apis",
"apps",
"art.sy",
"artifact",
"artifacts",
"artsy",
"async",
"awesommmmee",
"babelify",
"babelrc",
"base64",
"behavior",
"bitbucket",
"blog",
"browserify",
"camelcase",
"changelog",
"circleci",
"cli",
"cocoadocs",
"cocoapods",
"codebase",
"coffeeify",
"coffeescript",
"colocate",
"common.yml",
"composable",
"config",
"configmap",
"css",
"css3",
"cto",
"danger-js",
"dangerfile",
"dangerfiles",
"dangerjs",
"datadog",
"dataloader",
"dblock",
"de-silo'd",
"deserialization",
"destructuring",
"devs",
"devtools",
"dockerfile",
"dockerize",
"dockerizes",
"dockerizing",
"dotenv",
"downlevel",
"downleveling",
"ecma",
"env",
"es2015",
"es2016",
"es6",
"ESLint's",
"eslint",
"ezel",
"facebook",
"fastlane",
"Favor",
"flexbox",
"frontend",
"frp",
"gil",
"gists",
"github",
"gitlab",
"graphiql",
"graphql",
"hah",
"heroku-like",
"heroku",
"hokusai",
"homebrew",
"honor",
"html",
"html5",
"hypergrowth",
"imagemagick",
"Informationals",
"inline",
"IntelliJ",
"intellisense",
"interop",
"isac",
"javascriptures",
"jekyll",
"jira",
"js",
"json",
"jsx",
"jwt",
"jwts",
"keybinding",
"keybindings",
"kickoff",
"kpis",
"kubectl",
"kubernetes",
"labor",
"lifecycle",
"linter",
"linters",
"linux",
"listicles",
"localhost",
"lockfile",
"lowercase",
"macos",
"maven",
"memcached",
"microservice",
"microservices",
"modeling",
"mongo",
"mongodb",
"Movie",
"moya",
"mutablilty",
"mvc",
"mvvm",
"node.js",
"nodejs",
"nodemon",
"non-Artsy",
"npm",
"nullability",
"OAuth",
"objc.io",
"oftentimes",
"ok",
"olde",
"omakase",
"onboarding",
"online",
"optimised",
"org's",
"org",
"orta's",
"orta",
"oss'd",
"oss",
"package.json",
"pageviews",
"password",
"pg",
"playbook",
"playbooks",
"plugin",
"plugins",
"podspec",
"polyfill",
"post-Artsy",
"postgres",
"pr",
"pragma",
"pre-es6",
"prepping",
"procfile",
"protobuf",
"prs",
"queryrenderer",
"react's",
"readme",
"readmes",
"redis",
"redux",
"refetch",
"renderProps",
"repo",
"rfc",
"rfcs",
"rmagick",
"rubocop",
"runtimes",
"sbt-revolver",
"scalafmt",
"scss",
"semver",
"sendgrid",
"serializer",
"setups",
"sidekiq",
"sonatype",
"spec",
"spreaded",
"standup",
"standups",
"stylelint",
"subteams",
"testbed",
"textmate",
"timeframe",
"timezones",
"tldr:",
"tldr",
"todos",
"toolchains",
"transpilation",
"travis",
"trello",
"ts",
"tsconfig.json",
"tslib",
"typescript-eslint",
"typings",
"udacity",
"uiview",
"unclutter",
"uppercase",
"URIs",
"url",
"v2",
"v8",
"vars",
"visualstudios.com",
"voila",
"vscode",
"Vue",
"webhook",
"webhooks",
"webpack-y",
"webpack",
"websocket",
"workflow",
"xcode",
"zeit"
]
"dictionaries": ["words.txt", "ignore-words"],
"ignoreWords": [],
"import": ["../../../../repositories/cspell-reporter.json"]
}
Loading

0 comments on commit 4268057

Please sign in to comment.