Files
tree-sitter-shellspec/.mega-linter.yml
Ismo Vuorinen 18138d7588 fix: address code review findings and critical issues
Critical Fixes:
- Fixed EditorConfig violations in grammar.js, scanner.c, README.md, .mega-linter.yml
  - Changed JSDoc comments from 1-space to 2-space indent per .editorconfig
  - Fixed line length violations in README.md and .mega-linter.yml
- Updated test count badge from 59/59 to 61/61 in README.md
- Created queries/highlights.scm for syntax highlighting support
- Updated package.json with repository and files fields

Configuration Updates:
- Added repository field pointing to GitHub
- Added files field to control npm package contents
- Properly formatted CONTRIBUTING.md with prettier

All 61 tests passing (100% success rate)
All critical EditorConfig violations resolved
2026-01-04 15:33:00 +02:00

36 lines
1.5 KiB
YAML

---
# yaml-language-server:
# $schema=https://raw.githubusercontent.com/megalinter/megalinter/main/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json
# Configuration file for MegaLinter
# See all available variables at
# https://megalinter.io/configuration/ and in linters documentation
APPLY_FIXES: none
FLAVOR_SUGGESTIONS: true
SHOW_ELAPSED_TIME: false # Show elapsed time at the end of MegaLinter run
PARALLEL: true
VALIDATE_ALL_CODEBASE: true
FILEIO_REPORTER: false # Generate file.io report
GITHUB_STATUS_REPORTER: true # Generate GitHub status report
IGNORE_GENERATED_FILES: true # Ignore generated files
JAVASCRIPT_DEFAULT_STYLE: prettier # Default style for JavaScript
PRINT_ALPACA: false # Print Alpaca logo in console
SARIF_REPORTER: true # Generate SARIF report
SHOW_SKIPPED_LINTERS: false # Show skipped linters in MegaLinter log
DISABLE_LINTERS:
- REPOSITORY_DEVSKIM
- C_CLANG_FORMAT # Generated code may not follow all style rules
- JSON_PRETTIER # Disabled for causing probelms
- SPELL_LYCHEE # Disabled due to too many false positives
- SPELL_CSPELL # Disabled due to too many false positives
- REPOSITORY_TRUFFLEHOG # Disabled due to being far too slow
- JAVASCRIPT_PRETTIER # We are not using Prettier for JS
YAML_YAMLLINT_CONFIG_FILE: .yamllint.yml
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdownlint.json
# Exclude some paths from all linters as they are generated
FILTER_REGEX_EXCLUDE: >
(node_modules|test/spec|src|megalinter-reports)