mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-02-15 08:52:32 +00:00
- Add comprehensive caching for npm, yarn, and pnpm package managers - Cache paths now include: - npm: ~/.npm, node_modules/.cache - yarn: ~/.yarn, ~/.cache/yarn, ~/.cache/yarn/global - pnpm: ~/.pnpm-store, ~/.cache/pnpm, ~/.local/share/pnpm/global - Update cache keys to include all lockfile types (package-lock.json, yarn.lock, pnpm-lock.yaml) - Rename 'Cache Tree-sitter CLI' to 'Cache npx store' for clarity - Apply changes consistently across test, lint, and coverage jobs This improves cache hit rates and build performance regardless of which Node.js package manager is used in the development environment.
34 lines
1.4 KiB
YAML
34 lines
1.4 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: all
|
|
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)
|