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

Cspell: SPELL_CSPELL_ANALYZE_FILE_NAMES #2022

Merged
merged 2 commits into from
Oct 31, 2022
Merged

Conversation

nvuillam
Copy link
Member

Allow cspell to also analyze file names
Fixes #2009

Allow cspell to also analyze file names
Fixes #2009
@nvuillam
Copy link
Member Author

nvuillam commented Oct 31, 2022

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 7 0 0.02s
✅ BASH shellcheck 7 0 0.38s
✅ BASH shfmt 7 0 0 0.42s
✅ COPYPASTE jscpd yes no 3.31s
✅ DOCKERFILE hadolint 105 0 12.71s
✅ JSON eslint-plugin-jsonc 21 0 0 3.21s
✅ JSON jsonlint 19 0 0.35s
✅ JSON v8r 21 0 22.22s
⚠️ MARKDOWN markdownlint 294 0 5 7.74s
✅ MARKDOWN markdown-link-check 294 0 6.4s
✅ MARKDOWN markdown-table-formatter 294 0 0 8.5s
✅ OPENAPI spectral 1 0 1.17s
⚠️ PYTHON bandit 170 42 3.28s
✅ PYTHON black 170 0 0 6.83s
✅ PYTHON flake8 170 0 2.41s
✅ PYTHON isort 170 0 0 0.91s
✅ PYTHON mypy 170 0 10.62s
✅ PYTHON pylint 170 0 17.34s
⚠️ PYTHON pyright 170 274 24.61s
✅ REPOSITORY checkov yes no 37.78s
✅ REPOSITORY git_diff yes no 0.41s
✅ REPOSITORY secretlint yes no 9.65s
✅ REPOSITORY trivy yes no 30.77s
✅ SPELL cspell 707 0 28.7s
✅ SPELL misspell 533 0 0 1.12s
✅ XML xmllint 3 0 0.0s
✅ YAML prettier 80 0 0 4.13s
✅ YAML v8r 22 0 61.37s
✅ YAML yamllint 81 0 2.01s

See errors details in artifact MegaLinter reports on CI Job page

MegaLinter is graciously provided by OX Security

@codecov-commenter
Copy link

Codecov Report

Merging #2022 (73686c8) into main (0bfc6f5) will decrease coverage by 0.19%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##             main    #2022      +/-   ##
==========================================
- Coverage   82.60%   82.41%   -0.20%     
==========================================
  Files         157      157              
  Lines        3387     3400      +13     
==========================================
+ Hits         2798     2802       +4     
- Misses        589      598       +9     
Impacted Files Coverage Δ
megalinter/linters/CSpellLinter.py 22.22% <28.57%> (+0.27%) ⬆️
megalinter/reporters/UpdatedSourcesReporter.py 89.74% <0.00%> (+2.56%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nvuillam
Copy link
Member Author

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 7 0 0.02s
✅ BASH shellcheck 7 0 0.33s
✅ BASH shfmt 7 0 0 0.06s
✅ COPYPASTE jscpd yes no 2.98s
✅ DOCKERFILE hadolint 105 0 10.72s
✅ JSON eslint-plugin-jsonc 21 0 0 2.88s
✅ JSON jsonlint 19 0 0.3s
✅ JSON v8r 21 0 18.45s
⚠️ MARKDOWN markdownlint 294 2 5 6.51s
✅ MARKDOWN markdown-link-check 294 0 6.36s
✅ MARKDOWN markdown-table-formatter 294 2 0 8.49s
✅ OPENAPI spectral 1 0 1.09s
⚠️ PYTHON bandit 170 42 3.5s
✅ PYTHON black 170 0 0 5.21s
✅ PYTHON flake8 170 0 2.7s
✅ PYTHON isort 170 0 0 0.55s
✅ PYTHON mypy 170 0 10.72s
✅ PYTHON pylint 170 0 15.65s
⚠️ PYTHON pyright 170 272 24.38s
✅ REPOSITORY checkov yes no 36.04s
⚠️ REPOSITORY devskim yes 59 1.52s
✅ REPOSITORY dustilock yes no 1.63s
✅ REPOSITORY git_diff yes no 0.06s
✅ REPOSITORY secretlint yes no 6.18s
✅ REPOSITORY syft yes no 3.58s
✅ REPOSITORY trivy yes no 23.66s
✅ SPELL cspell 707 0 27.38s
✅ SPELL misspell 533 2 0 0.58s
✅ XML xmllint 3 0 0.0s
✅ YAML prettier 80 0 0 3.79s
✅ YAML v8r 22 0 55.46s
✅ YAML yamllint 81 0 1.83s

See errors details in artifact MegaLinter reports on CI Job page

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@nvuillam nvuillam merged commit c7927e6 into main Oct 31, 2022
@nvuillam nvuillam deleted the features/cspell_files branch October 31, 2022 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linter to check spelling of file name?
3 participants