Skip to content

Commit

Permalink
feat!: Upgrade to CSpell 6.0.0 (#738)
Browse files Browse the repository at this point in the history
## Breaking
Requires Node >= 16 for the runner
  • Loading branch information
Jason3S committed May 24, 2022
1 parent 0eb980e commit a53a4d0
Show file tree
Hide file tree
Showing 13 changed files with 114 additions and 102 deletions.
4 changes: 2 additions & 2 deletions action-src/package.json
Expand Up @@ -41,8 +41,8 @@
"@octokit/core": "^3.6.0",
"@octokit/plugin-rest-endpoint-methods": "^5.13.0",
"@octokit/rest": "^18.12.0",
"cspell": "^5.21.2",
"cspell-glob": "^5.21.2",
"cspell": "^6.0.0",
"cspell-glob": "^6.0.0",
"vscode-uri": "^3.0.3"
}
}
13 changes: 10 additions & 3 deletions action.yaml
Expand Up @@ -11,33 +11,40 @@ inputs:
Also when generating a new PAT, select the least scopes necessary.
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
default: ${{ github.token }}
required: false
files:
description: >
Define glob patterns to filter the files to be checked. Use a new line between patterns to define multiple patterns.
The default is to check ALL files that were changed in in the pull_request or push.
Note: `ignorePaths` defined in cspell.json still apply.
required: false
incremental_files_only:
description: >
Limit the files checked to the ones in the pull request or push.
default: true
default: "true"
required: false
config:
description: >
Path to `cspell.json`
required: false
root:
description: >
The point in the directory tree to start spell checking.
required: false
inline:
description: >
Notification level to use with inline reporting of spelling errors.
Allowed values are: warning, error, none
default: warning
required: false
strict:
description: >
Determines if the action should be failed if any spelling issues are found.
Allowed values are: true, false
default: true
default: "true"
required: false
runs:
using: "node12"
using: "node16"
main: "./action/lib/main_root.js"
branding:
icon: "code"
Expand Down
10 changes: 5 additions & 5 deletions action/node_modules/@cspell/cspell-bundled-dicts/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions action/node_modules/@cspell/cspell-pipe/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions action/node_modules/@cspell/cspell-types/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions action/node_modules/cspell-gitignore/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions action/node_modules/cspell-glob/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions action/node_modules/cspell-io/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 13 additions & 12 deletions action/node_modules/cspell-lib/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions action/node_modules/cspell-trie-lib/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions action/node_modules/cspell/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions action/package.json
Expand Up @@ -14,8 +14,8 @@
"@octokit/core": "^3.6.0",
"@octokit/plugin-rest-endpoint-methods": "^5.13.0",
"@octokit/rest": "^18.12.0",
"cspell": "^5.21.2",
"cspell-glob": "^5.21.2",
"cspell": "^6.0.0",
"cspell-glob": "^6.0.0",
"vscode-uri": "^3.0.3"
}
}

0 comments on commit a53a4d0

Please sign in to comment.