Skip to content

Commit 8fc5543

Browse files
committed
prettier fix for no linting errors
1 parent 79758b3 commit 8fc5543

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

lib/svgo/coa.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ function checkWriteFileError(input, output, data, error) {
524524
}
525525
}
526526

527-
/**
527+
/**
528528
* Show list of available plugins with short description with the presets it belongs to.
529529
* */
530530
function showAvailablePlugins() {
@@ -549,8 +549,7 @@ function showAvailablePlugins() {
549549
description += ` (${presetsForThisPlugin.join(', ')})`;
550550
}
551551
return `[ ${colors.green(name)} ] ${description}`;
552-
}
553-
)
552+
})
554553
.join('\n');
555554
console.log('Currently available plugins:\n' + list);
556555
}

plugins/removeElementsByAttr.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import { detachNodeFromParent } from '../lib/xast.js';
77
*/
88

99
export const name = 'removeElementsByAttr';
10-
export const description =
11-
'removes arbitrary elements by ID or className';
10+
export const description = 'removes arbitrary elements by ID or className';
1211

1312
/**
1413
* Remove arbitrary SVG elements by ID or className.

plugins/removeXMLNS.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export const name = 'removeXMLNS';
2-
export const description =
3-
'removes xmlns attribute (for inline svg)';
2+
export const description = 'removes xmlns attribute (for inline svg)';
43

54
/**
65
* Remove the xmlns attribute when present.

0 commit comments

Comments
 (0)