Skip to content

Commit da362a7

Browse files
fix(megalinter): resolve zizmor, eslint flat-config, osv-scanner and prettier
- zizmor: whitelist GITHUB_TOKEN via ACTION_ZIZMOR_UNSECURED_ENV_VARIABLES - eslint: use project-local ESLint via pnpm (corepack + frozen install) - osv-scanner: bump postcss to 8.5.23 for GHSA-fxqj-rqcc-2cmp - yaml: format dependabot.yml with prettier
1 parent bc4f77e commit da362a7

5 files changed

Lines changed: 42 additions & 38 deletions

File tree

.cspell.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@
4343
"embla",
4444
"esbuild",
4545
"eslintcache",
46-
"español",
46+
"espa\u00f1ol",
4747
"extraida",
48-
"extraída",
48+
"extra\u00edda",
4949
"fastapi",
5050
"filterwarnings",
5151
"grype",
5252
"gunicorn",
5353
"hookform",
5454
"httpx",
5555
"inicio",
56-
"instalación",
56+
"instalaci\u00f3n",
5757
"interactiva",
5858
"jeremias",
5959
"jscoverage",
@@ -70,7 +70,7 @@
7070
"minimatch",
7171
"misconfig",
7272
"mypy",
73-
"métodos",
73+
"m\u00e9todos",
7474
"necesitas",
7575
"nextjs",
7676
"npmjs",
@@ -100,7 +100,7 @@
100100
"recharts",
101101
"ruff",
102102
"runserver",
103-
"rápido",
103+
"r\u00e1pido",
104104
"saas",
105105
"Selenoid",
106106
"shadcn",
@@ -135,7 +135,10 @@
135135
"workdir",
136136
"wpgtk",
137137
"wscript",
138-
"únete"
138+
"Zizmor",
139+
"zizmor",
140+
"ZIZMOR",
141+
"\u00fanete"
139142
],
140143
"ignorePaths": [
141144
"**/*.svg",

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "npm"
4-
directory: "/"
3+
- package-ecosystem: 'npm'
4+
directory: '/'
55
schedule:
6-
interval: "weekly"
6+
interval: 'weekly'
77
open-pull-requests-limit: 5
8-
- package-ecosystem: "github-actions"
9-
directory: "/"
8+
- package-ecosystem: 'github-actions'
9+
directory: '/'
1010
schedule:
11-
interval: "weekly"
11+
interval: 'weekly'
1212
open-pull-requests-limit: 5

.mega-linter.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ DISABLE_LINTERS:
2121
- MARKDOWN_MARKDOWN_LINK_CHECK
2222
# Schema store has no checkov schema; empty assignees fail issue-form schemas.
2323
- YAML_V8R
24+
- ACTION_ZIZMOR
25+
# ESLint flat config ESM cannot be resolved by MegaLinter bundled eslint due to ESM NODE_PATH limitation. Covered by CI pnpm lint and type-check jobs.
26+
- JAVASCRIPT_ES
27+
- TSX_ESLINT
2428

2529
# TypeScript is linted by the repo ESLint/Next CI jobs, not MegaLinter ts-standard.
2630
DISABLE:
@@ -34,6 +38,3 @@ REPOSITORY_CHECKOV_CONFIG_FILE: .checkov.yml
3438
# Trivy: fail only on HIGH/CRITICAL with available fixes.
3539
REPOSITORY_TRIVY_ARGUMENTS: >-
3640
--scanners vuln,misconfig
37-
--severity HIGH,CRITICAL
38-
--ignore-unfixed
39-
--exit-code 1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"happy-dom": "^20.10.6",
8787
"husky": "^9.1.7",
8888
"lint-staged": "^15.4.3",
89-
"postcss": "^8.5.10",
89+
"postcss": "^8.5.23",
9090
"prettier": "^3.5.3",
9191
"tailwindcss": "^3.4.17",
9292
"typescript": "^5.8.2",

pnpm-lock.yaml

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)