diff --git a/.automation/test/mega-linter-plugin-test/.cspell.json b/.automation/test/mega-linter-plugin-test/.cspell.json index 44b7124e81b..f02f254df79 100644 --- a/.automation/test/mega-linter-plugin-test/.cspell.json +++ b/.automation/test/mega-linter-plugin-test/.cspell.json @@ -10,7 +10,8 @@ ".vscode" ], "language": "en", - "version": "0.1", + "noConfigSearch": true, + "version": "0.2", "words": [ "JSONLINT", "jsonlint", diff --git a/.cspell.json b/.cspell.json index 6f9cf435bb0..f538cf1360c 100644 --- a/.cspell.json +++ b/.cspell.json @@ -11,7 +11,8 @@ ".vscode" ], "language": "en", - "version": "0.1", + "noConfigSearch": true, + "version": "0.2", "words": [ "ACTIONLINT", "ADDITIONAL", diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e7c44fab69..1c8453f7486 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/mega-linter-runner/generators/mega-linter/templates/.cspell.json b/mega-linter-runner/generators/mega-linter/templates/.cspell.json index 22ca567e94d..c312eab451d 100644 --- a/mega-linter-runner/generators/mega-linter/templates/.cspell.json +++ b/mega-linter-runner/generators/mega-linter/templates/.cspell.json @@ -1,6 +1,4 @@ { - "version": "0.1", - "language": "en", "ignorePaths": [ "**/node_modules/**", "**/vscode-extension/**", @@ -10,5 +8,8 @@ "package-lock.json", "report" ], - "words": [] + "language": "en", + "noConfigSearch": true, + "words": [], + "version": "0.2" } diff --git a/megalinter/linters/CSpellLinter.py b/megalinter/linters/CSpellLinter.py index 235599cec69..c90d45b3b13 100644 --- a/megalinter/linters/CSpellLinter.py +++ b/megalinter/linters/CSpellLinter.py @@ -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/**",