mirror of
				https://git.openwrt.org/project/luci.git
				synced 2025-10-31 10:49:03 +08:00 
			
		
		
		
	 98e71acd06
			
		
	
	98e71acd06
	
	
	
		
			
			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"],
 | |
| 	},
 | |
| ]);
 | |
| 
 |