mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 05:36:13 +08:00 
			
		
		
		
	Standardize array bracket spacing
This commit is contained in:
		@@ -49,6 +49,11 @@ module.exports = {
 | 
			
		||||
        "no-multi-spaces": [ "error", {
 | 
			
		||||
            ignoreEOLComments: true,
 | 
			
		||||
        }],
 | 
			
		||||
        "array-bracket-spacing": [ "warn", "always", {
 | 
			
		||||
            "singleValue": true,
 | 
			
		||||
            "objectsInArrays": false,
 | 
			
		||||
            "arraysInArrays": false
 | 
			
		||||
        }],
 | 
			
		||||
        "space-before-function-paren": [ "error", {
 | 
			
		||||
            "anonymous": "always",
 | 
			
		||||
            "named": "never",
 | 
			
		||||
 
 | 
			
		||||
@@ -13,6 +13,7 @@
 | 
			
		||||
        "install-legacy": "npm install --legacy-peer-deps",
 | 
			
		||||
        "update-legacy": "npm update --legacy-peer-deps",
 | 
			
		||||
        "lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
 | 
			
		||||
        "lint-fix:js": "eslint --ext \".js,.vue\" --fix --ignore-path .gitignore .",
 | 
			
		||||
        "lint:style": "stylelint \"**/*.{vue,css,scss}\" --ignore-path .gitignore",
 | 
			
		||||
        "lint": "npm run lint:js && npm run lint:style",
 | 
			
		||||
        "dev": "vite --host --config ./config/vite.config.js",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user