mirror of
https://github.com/openwrt/luci.git
synced 2025-07-08 09:05:41 +00:00
Add GitHub Actions CI which lints json files using official ESLint json plugin. Signed-off-by: Yanase Yuki <dev@zpc.st>
14 lines
259 B
JavaScript
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"],
|
|
},
|
|
]);
|
|
|