microsoft/typespec

Public

mirrored fromhttps://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
61ba17d2d29dedf4553b21a055aa6b442a304688

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

eng/scripts/cspell.js

23lines · modecode

1// @ts-check
2import { resolve } from "path";
3import { run, xplatCmd } from "../../packages/internal-build-utils/dist/src/index.js";
4import { repoRoot } from "./helpers.js";
5export const cspell = xplatCmd(
6 resolve(repoRoot, "packages/internal-build-utils/node_modules/.bin/cspell")
7);
8
9await run(
10 cspell,
11 [
12 "--no-progress",
13 "**/*.md",
14 "**/*.ts",
15 "**/*.tsx",
16 "**/*.js",
17 "**/changelog.json",
18 "common/changes/**/*.json",
19 ],
20 {
21 cwd: repoRoot,
22 }
23);
24