Update of prettier, eslint and rules

This commit is contained in:
Knut Sveidqvist
2021-07-15 11:35:12 +02:00
parent 896c7eca57
commit 5399214ad8
80 changed files with 1192 additions and 1329 deletions

View File

@@ -6,7 +6,7 @@ import { log } from '../logger';
// Only add the number of markers that the diagram needs
const insertMarkers = (elem, markerArray, type, id) => {
markerArray.forEach(markerName => {
markerArray.forEach((markerName) => {
markers[markerName](elem, type, id);
});
};
@@ -255,6 +255,6 @@ const markers = {
point,
circle,
cross,
barb
barb,
};
export default insertMarkers;