mirror of
				https://github.com/MichMich/MagicMirror.git
				synced 2025-10-31 10:48:10 +00:00 
			
		
		
		
	add .gitattributes and fix prettier/js warnings (#3094)
see title, as discussed in https://github.com/MichMich/MagicMirror/pull/3093
This commit is contained in:
		| @@ -52,7 +52,6 @@ Module.register("compliments", { | ||||
|  | ||||
| 	/** | ||||
| 	 * Generate a random index for a list of compliments. | ||||
| 	 * | ||||
| 	 * @param {string[]} compliments Array with compliments. | ||||
| 	 * @returns {number} a random index of given array | ||||
| 	 */ | ||||
| @@ -78,7 +77,6 @@ Module.register("compliments", { | ||||
|  | ||||
| 	/** | ||||
| 	 * Retrieve an array of compliments for the time of the day. | ||||
| 	 * | ||||
| 	 * @returns {string[]} array with compliments for the time of the day. | ||||
| 	 */ | ||||
| 	complimentArray: function () { | ||||
| @@ -115,7 +113,6 @@ Module.register("compliments", { | ||||
|  | ||||
| 	/** | ||||
| 	 * Retrieve a file from the local filesystem | ||||
| 	 * | ||||
| 	 * @returns {Promise} Resolved when the file is loaded | ||||
| 	 */ | ||||
| 	loadComplimentFile: async function () { | ||||
| @@ -127,7 +124,6 @@ Module.register("compliments", { | ||||
|  | ||||
| 	/** | ||||
| 	 * Retrieve a random compliment. | ||||
| 	 * | ||||
| 	 * @returns {string} a compliment | ||||
| 	 */ | ||||
| 	getRandomCompliment: function () { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user