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:
Karsten Hassel
2023-04-22 09:29:51 +02:00
committed by GitHub
parent b80485b52f
commit a41aa48dd1
37 changed files with 58 additions and 162 deletions

View File

@@ -32,7 +32,6 @@ const NodeHelper = Class.extend({
/**
* This method is called when a socket notification arrives.
*
* @param {string} notification The identifier of the notification.
* @param {*} payload The payload of the notification.
*/
@@ -42,7 +41,6 @@ const NodeHelper = Class.extend({
/**
* Set the module name.
*
* @param {string} name Module name.
*/
setName(name) {
@@ -51,7 +49,6 @@ const NodeHelper = Class.extend({
/**
* Set the module path.
*
* @param {string} path Module path.
*/
setPath(path) {
@@ -123,7 +120,6 @@ NodeHelper.checkFetchStatus = function (response) {
/**
* Look at the specified error and return an appropriate error type, that
* can be translated to a detailed error message
*
* @param {Error} error the error from fetching something
* @returns {string} the string of the detailed error message in the translations
*/