diff --git a/.devrail.yml b/.devrail.yml index e890c05..5dbbc0a 100644 --- a/.devrail.yml +++ b/.devrail.yml @@ -8,6 +8,7 @@ languages: # - ansible # - ruby # - go + # - javascript # fail_fast: false # default: false (run-all-report-all) # log_format: json # default: json | options: json, human diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5ea7bdd..edb14c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,6 +54,23 @@ repos: # hooks: # - id: golangci-lint-full + # --- JavaScript/TypeScript (uncomment if languages includes javascript) --- + # Linting with ESLint v9 (flat config) + # - repo: https://github.com/pre-commit/mirrors-eslint + # rev: v9.27.0 + # hooks: + # - id: eslint + # additional_dependencies: + # - eslint + # - "@eslint/js" + # - typescript-eslint + # - typescript + # Formatting with Prettier + # - repo: https://github.com/pre-commit/mirrors-prettier + # rev: v4.0.0-alpha.8 + # hooks: + # - id: prettier + # --- Secret Detection --- # Detects hardcoded secrets, API keys, and credentials in code - repo: https://github.com/gitleaks/gitleaks