microsoft/typespec

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
379a0aec4451d65f7126f9292fc7a6d627c68508

Branches

Tags

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

Clone

HTTPS

Download ZIP

eng/scripts/cspell.js

22lines · 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 "**/*.js",
16 "**/changelog.json",
17 "common/changes/**/*.json",
18 ],
19 {
20 cwd: repoRoot,
21 }
22);
23