0
0
mirror of https://github.com/openwrt/luci.git synced 2025-07-08 09:05:41 +00: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"],
},
]);