Skip to content

Commit

Permalink
build(cspell): spelling checks
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Dec 23, 2022
1 parent f6db517 commit 2e5e4a9
Show file tree
Hide file tree
Showing 5 changed files with 586 additions and 12 deletions.
9 changes: 9 additions & 0 deletions cspell.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"language": "en",
"words": [
"codecov",
"cmds",
"nocolor",
"oneline"
]
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@
"build:deps": "bash ./scripts/dependencies.sh --doctor -u --doctorInstall \"yarn\" --doctorTest \"yarn test:deps\"",
"release": "node ./bin/cli.js",
"start": "./bin/cli.js",
"test": "run-s -l test:lint test:ci",
"test": "run-s -l test:lint test:spell* test:ci",
"test:ci": "export CI=true; jest --collectCoverage",
"test:clearCache": "jest --clearCache",
"test:deps": "run-s test",
"test:dev": "eslint ./src ./bin; jest --watch",
"test:dev": "eslint ./src ./bin; run-s test:spell test:local",
"test:integration": "jest --roots=./tests",
"test:integration-dev": "jest --roots=./tests --watchAll",
"test:lint": "eslint ./src ./bin"
"test:lint": "eslint ./src ./bin",
"test:local": "jest --watch",
"test:spell-docs": "cspell ./README.md ./CONTRIBUTING.md --config ./cspell.config.json",
"test:spell": "cspell './src/**/*.js' './tests/**/*.js' --config ./cspell.config.json"
},
"jest": {
"roots": [
Expand Down Expand Up @@ -65,6 +68,7 @@
"yargs": "^17.6.2"
},
"devDependencies": {
"cspell": "^6.17.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-babel": "^5.3.1",
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/files.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// spell-checker: disable
const { updateChangelog, updatePackage } = require('../files');
const { getComparisonCommitHashes, parseCommits } = require('../parse');

Expand Down
1 change: 1 addition & 0 deletions src/__tests__/parse.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// spell-checker: disable
const {
getCommitType,
formatChangelogMessage,
Expand Down
Loading

0 comments on commit 2e5e4a9

Please sign in to comment.