1
0
mirror of https://git.openwrt.org/project/luci.git synced 2025-10-14 01:32:18 +08:00
Files
luci/eslint.config.mjs
Yanase Yuki 98e71acd06 ci: lint JSON files using ESLint
Add GitHub Actions CI which lints json files
using official ESLint json plugin.

Signed-off-by: Yanase Yuki <dev@zpc.st>
2025-06-08 20:41:25 +02:00

14 lines
259 B
JavaScript

import { defineConfig } from "eslint/config";
import json from "@eslint/json";
export default defineConfig([
{
files: ["**/*.json"],
ignores: ["package-lock.json"],
plugins: { json },
language: "json/json",
extends: ["json/recommended"],
},
]);