-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathcspell.config.mts
More file actions
39 lines (38 loc) · 1.02 KB
/
cspell.config.mts
File metadata and controls
39 lines (38 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { defineConfig } from "cspell";
export default defineConfig({
version: "0.2",
language: "en",
files: [
"*.{js,ts,md,json,yml,yaml,mjs,cjs,mts,cts}",
"{.github,scripts,packages}/**/*.{js,ts,md,json,yml,yaml,mjs,cjs,mts,cts}",
],
ignoreRandomStrings: true,
allowCompoundWords: true,
dictionaryDefinitions: [
{
name: "project-dictionary",
path: "./cspell.dictionary.txt",
addWords: true,
},
],
dictionaries: ["project-dictionary"],
ignorePaths: [
"pnpm-lock.yaml",
"node_modules",
"packages/*/node_modules",
"packages/*/dist",
"packages/*/CHANGELOG.md",
".github/config/regression-tests.yml",
"packages/hardhat-vendored/{src,test}/**/*",
"**/vendored/**/*",
"**/vendor/**/*",
"**/coverage/html/**/*",
"**/artifacts/**/*.json",
"**/artifacts/**/*.d.ts",
"**/build-info/**/*",
"packages/*/artifacts",
"packages/*/cache",
"packages/*/test/fixture-projects/**/artifacts",
"packages/*/test/fixture-projects/**/cache",
],
});