-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.mega-linter.yml
More file actions
54 lines (44 loc) · 2.66 KB
/
Copy path.mega-linter.yml
File metadata and controls
54 lines (44 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
# Bundled MegaLinter pylint rc is incompatible with pylint 4.x (removed options).
DISABLE:
- COPYPASTE
- SPELL
DISABLE_LINTERS:
- PYTHON_PYLINT
# osv-scanner has nothing to scan in this repo: it's a chezmoi dotfiles
# tree with no language manifests or lockfiles (no go.mod, package.json,
# uv.lock, Gemfile.lock, etc.). MegaLinter treats the scanner's "No
# package sources found" exit as a failure, so it stays disabled until
# this repo grows a real dependency manifest.
- REPOSITORY_OSV_SCANNER
SARIF_REPORTER: true
LUA_LUACHECK_ARGUMENTS: "--globals vim hs"
CSS_STYLELINT_FILTER_REGEX_EXCLUDE: "(yasb/styles\\.css)"
# chezmoi modify_* templates start with `{{- /* chezmoi:modify-template */ -}}`,
# which is not valid JSON until rendered. Exclude them from JSON linters/formatters.
JSON_JSONLINT_FILTER_REGEX_EXCLUDE: "(home/.*modify_[^/]*\\.json)"
JSON_PRETTIER_FILTER_REGEX_EXCLUDE: "(home/.*modify_[^/]*\\.json)"
# rtk.ts is vendored from https://github.com/rtk-ai/rtk and must not be modified
# locally (see header comment in the file). Exclude it from ts-standard.
# skills/agent-audit/lib/opencode-plugin.ts is a standalone skill resource (a
# reference OpenCode plugin distributed via the skills CLI), not part of this
# repo's TS project. It is outside tsconfig.json's `include`, so ts-standard's
# parserOptions.project parse fails on it; exclude rather than pull an external
# skill example into the maintained opencode plugin project.
TYPESCRIPT_STANDARD_FILTER_REGEX_EXCLUDE: "(home/dot_config/opencode/plugins/rtk\\.ts|skills/agent-audit/lib/opencode-plugin\\.ts)"
# *.workflow.js files are Workflow-tool script bodies: the runtime wraps them in
# an async function, so top-level `return`/`await` is valid there but parses as
# `'return' outside of function` under standardjs. Exclude them from standard.
JAVASCRIPT_STANDARD_FILTER_REGEX_EXCLUDE: "(skills/.*\\.workflow\\.js)"
# SchemaStore matches **/glazewm/config.yaml to schemastore.org/glazewm.json,
# which is the GlazeWM v2 schema. This config targets GlazeWM v3 (restructured
# config; v3 ships no authoritative JSON schema), so v8r reports every v3 key as
# an unknown property. Exclude until SchemaStore publishes a v3 schema.
YAML_V8R_FILTER_REGEX_EXCLUDE: "(home/dot_glzr/glazewm/config\\.yaml)"
REPOSITORY_KICS_ARGUMENTS: "--exclude-paths .github/workflows/e2e-install.yml"
# MegaLinter v9.5.0 stopped forwarding GITHUB_TOKEN to linter containers by
# default. zizmor needs it to query the GitHub API while running audits like
# `artipacked` (which lists tags for referenced actions); without it the audit
# aborts with a 401 and is reported as an error.
ACTION_ZIZMOR_UNSECURED_ENV_VARIABLES:
- GITHUB_TOKEN