Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .cspell default config #1226

Merged
merged 1 commit into from
Jan 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .automation/test/mega-linter-plugin-test/.cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
".vscode"
],
"language": "en",
"version": "0.1",
"noConfigSearch": true,
"version": "0.2",
"words": [
"JSONLINT",
"jsonlint",
Expand Down
3 changes: 2 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
".vscode"
],
"language": "en",
"version": "0.1",
"noConfigSearch": true,
"version": "0.2",
"words": [
"ACTIONLINT",
"ADDITIONAL",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image

- Linter updates:
- cspell: Update .cspell default config with `"version: "2.0", "noConfigSearch": true`

- Linter versions upgrades
<!-- linter-versions-end -->

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"version": "0.1",
"language": "en",
"ignorePaths": [
"**/node_modules/**",
"**/vscode-extension/**",
Expand All @@ -10,5 +8,8 @@
"package-lock.json",
"report"
],
"words": []
"language": "en",
"noConfigSearch": true,
"words": [],
"version": "0.2"
}
2 changes: 1 addition & 1 deletion megalinter/linters/CSpellLinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def complete_text_reporter_report(self, reporter_self):
whitelisted_words_clean = sorted(set(whitelisted_words))
# Generate possible .cspell.json file
cspell_example = {
"version": "0.1",
"version": "0.2",
"language": "en",
"ignorePaths": [
"**/node_modules/**",
Expand Down