mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-10-31 19:39:20 +08:00 
			
		
		
		
	change no-unused-vars from error to warn
This commit is contained in:
		| @@ -16,6 +16,7 @@ module.exports = { | ||||
|     rules: { | ||||
|         // override/add rules settings here, such as: | ||||
|         // 'vue/no-unused-vars': 'error' | ||||
|         "no-unused-vars": "warn", | ||||
|         indent: ["error", 4], | ||||
|         quotes: ["warn", "double"], | ||||
|         //semi: ['off', 'never'], | ||||
|   | ||||
| @@ -7,7 +7,7 @@ const {setSetting, setting} = require("./util-server"); | ||||
| class Database { | ||||
|  | ||||
|     static templatePath = "./db/kuma.db" | ||||
|     static path =  './data/kuma.db'; | ||||
|     static path = "./data/kuma.db"; | ||||
|     static latestVersion = 3; | ||||
|     static noReject = true; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user