Files
test/frontend/eslint.config.js
Benjamin Falch 2bc741fb78
Some checks failed
Mark Stale PRs / stale (push) Has been cancelled
adding monkeytype
2026-04-23 13:53:44 +02:00

29 lines
545 B
JavaScript

import { defineConfig } from "eslint/config";
import json from "@eslint/json";
export default defineConfig([
// lint JSON files
{
files: ["**/*.json"],
plugins: { json },
language: "json/json",
extends: ["json/recommended"],
},
// lint JSONC files
{
files: ["**/*.jsonc"],
plugins: { json },
language: "json/jsonc",
extends: ["json/recommended"],
},
// lint JSON5 files
{
files: ["**/*.json5"],
plugins: { json },
language: "json/json5",
extends: ["json/recommended"],
},
]);