Skip to content

Commit f1e1baa

Browse files
committed
Normalize cspell config and update prettier script
Reformat .cspell.json to use an explicit array for words and simplify ignorePaths to only include .cspell.json. Update package.json prettier script to target only .md and .yml (remove json), preventing JSON files from being reformatted by prettier.
1 parent 55ffcea commit f1e1baa

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.cspell.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"version": "0.2",
3-
"words": ["ZIZMOR"],
3+
"words": [
4+
"ZIZMOR"
5+
],
46
"allowCompoundWords": true,
57
"language": "en,en-US",
6-
"ignorePaths": ["*.mjs", ".cspell.json", "data-store.json"],
8+
"ignorePaths": [
9+
".cspell.json"
10+
],
711
"useGitignore": true
812
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"license": "MIT",
1414
"author": "HTMLHint",
1515
"scripts": {
16-
"prettier": "npx prettier --write \"**/*.{json,md,yml}\"",
16+
"prettier": "npx prettier --write \"**/*.{md,yml}\"",
1717
"spellcheck": "npx cspell \"*.md\" --no-progress"
1818
}
1919
}

0 commit comments

Comments
 (0)