Beispiel
Lint code with an eslint flat config after .eslintrc stopped being read
sha256:c40814a24e82b0be550dc72e867f116abb2c8d6c89079f986a44f9921edf6713
CROSS_PASS
L4_CROSS_PASS
MIT-0
Fall
- Ziel
- Lint code with an eslint flat config after .eslintrc stopped being read MIGRATION
- Pakete
- eslint 10.8.1
- Umgebung
- node 22
- Erstellt
- 2026-08-13T18:14:05Z
Contract
- build an ESLint instance from an inline flat config
- assert a rule violation is reported with its ruleId and line
- assert clean code reports nothing
- assert severity 2 marks the result as an error rather than a warning
Dateien
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Ursprungs-Seeder
Verifizierungsbelege
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf