diff --git a/designs/plugintest/src/plugin-ringsector.mjs b/designs/plugintest/src/plugin-ringsector.mjs index 98c967a76b9..7def08887ab 100644 --- a/designs/plugintest/src/plugin-ringsector.mjs +++ b/designs/plugintest/src/plugin-ringsector.mjs @@ -1,7 +1,7 @@ import { ringsectorPlugin } from '@freesewing/plugin-ringsector' import { base } from './base.mjs' -const pluginRingsector = ({ points, Point, paths, options, macro, part, store }) => { +const pluginRingsector = ({ paths, options, macro, part, store }) => { if (['ringsector', 'all'].indexOf(options.plugin) !== -1) { const pathId = macro('ringsector', { angle: options.ringsectorAngle, diff --git a/plugins/plugin-annotations/src/banner.mjs b/plugins/plugin-annotations/src/banner.mjs index ed3b2843214..f4cc1f478e1 100644 --- a/plugins/plugin-annotations/src/banner.mjs +++ b/plugins/plugin-annotations/src/banner.mjs @@ -16,7 +16,7 @@ const macroDefaults = { const rmbanner = (id = macroDefaults.id, { store, part }) => store.removeMacroNodes(id, 'banner', part) -const banner = function (config, { part, paths, store, complete }) { +const banner = function (config, { paths, store, complete }) { /* * Don't add a banner when complete is false, unless force is true */ diff --git a/plugins/plugin-annotations/src/bannerbox.mjs b/plugins/plugin-annotations/src/bannerbox.mjs index 4acbfbd6d21..3ac93d75726 100644 --- a/plugins/plugin-annotations/src/bannerbox.mjs +++ b/plugins/plugin-annotations/src/bannerbox.mjs @@ -26,7 +26,7 @@ const rmbannerbox = (id = macroDefaults.id, { macro, store, part }) => { /* * The bannerbox macro */ -const bannerbox = function (config, { Point, paths, Path, part, macro, log, store, complete }) { +const bannerbox = function (config, { Point, paths, Path, macro, log, store, complete }) { /* * Don't add a title when complete is false, unless force is true */ diff --git a/plugins/plugin-annotations/src/crossbox.mjs b/plugins/plugin-annotations/src/crossbox.mjs index a793e77f063..824580a532f 100644 --- a/plugins/plugin-annotations/src/crossbox.mjs +++ b/plugins/plugin-annotations/src/crossbox.mjs @@ -21,7 +21,7 @@ const rmcrossbox = (id = macroDefaults.id, { store, part }) => /* * The crossbox macro */ -const crossbox = function (config, { points, Point, paths, Path, complete, store, log, part }) { +const crossbox = function (config, { points, Point, paths, Path, complete, store, log }) { /* * Don't add a title when complete is false, unless force is true */ diff --git a/plugins/plugin-annotations/src/cutonfold.mjs b/plugins/plugin-annotations/src/cutonfold.mjs index b4d2acef199..7a31dad330d 100644 --- a/plugins/plugin-annotations/src/cutonfold.mjs +++ b/plugins/plugin-annotations/src/cutonfold.mjs @@ -40,7 +40,7 @@ const rmcutonfold = (id = macroDefaults.id, { store, part }) => /* * The cutonfold macro */ -const cutonfold = function (config, { paths, Path, complete, store, scale, log, Point, part }) { +const cutonfold = function (config, { paths, Path, complete, store, scale, log, Point }) { /* * Don't add a cutonfold indicator when complete is false, unless force is true */ diff --git a/plugins/plugin-annotations/src/dimensions.mjs b/plugins/plugin-annotations/src/dimensions.mjs index af868db0b4a..31025dde96e 100644 --- a/plugins/plugin-annotations/src/dimensions.mjs +++ b/plugins/plugin-annotations/src/dimensions.mjs @@ -166,7 +166,7 @@ const removeDimension = function (id = macroDefaults.id, { store, part }, type) /* * This method removes all dimensions of a given type */ -const removeDimensionType = function ({ paths, store, part }, type) { +const removeDimensionType = function ({ store, part }, type) { // Get all macro IDs of the given type const ids = store.get(['parts', part.name, 'macros', type, 'ids'], {}) for (const id in ids) store.removeMacroNodes(id, type, part) diff --git a/plugins/plugin-annotations/src/grainline.mjs b/plugins/plugin-annotations/src/grainline.mjs index 9455100400a..61c62d66bb7 100644 --- a/plugins/plugin-annotations/src/grainline.mjs +++ b/plugins/plugin-annotations/src/grainline.mjs @@ -38,7 +38,7 @@ const rmgrainline = (id = macroDefaults.id, { store, part }) => /* * The grainline macro */ -const grainline = function (config = {}, { paths, Path, Point, complete, store, log, part }) { +const grainline = function (config = {}, { paths, Path, Point, complete, store, log }) { /* * Don't add a cutonfold indicator when complete is false, unless force is true */ diff --git a/plugins/plugin-annotations/src/pleat.mjs b/plugins/plugin-annotations/src/pleat.mjs index fb34c5a1b74..8ce4eb9b673 100644 --- a/plugins/plugin-annotations/src/pleat.mjs +++ b/plugins/plugin-annotations/src/pleat.mjs @@ -33,7 +33,7 @@ const rmpleat = (id = macroDefaults.id, { store, part }) => /* * The pleat macro */ -const pleat = function (config, { paths, Path, log, Point, complete, scale, store, part }) { +const pleat = function (config, { paths, Path, log, Point, complete, scale, store }) { /* * Don't add a pleat when complete is false, unless force is true */ diff --git a/plugins/plugin-annotations/src/scalebox.mjs b/plugins/plugin-annotations/src/scalebox.mjs index 1c2f856a381..e8e48db8917 100644 --- a/plugins/plugin-annotations/src/scalebox.mjs +++ b/plugins/plugin-annotations/src/scalebox.mjs @@ -61,7 +61,7 @@ const sizes = { /* * This removes a given macro type */ -const removeScaleAnnotation = function (id = false, { paths, points, store, part }, type) { +const removeScaleAnnotation = function (id = false, { store, part }, type) { if (!id) id = type return store.removeMacroNodes(id, type, part) } @@ -69,10 +69,7 @@ const removeScaleAnnotation = function (id = false, { paths, points, store, part /* * The scalebox macro */ -const scalebox = function ( - config, - { store, points, paths, scale, Point, Path, complete, log, part } -) { +const scalebox = function (config, { store, points, paths, scale, Point, Path, complete, log }) { /* * Don't add a title when complete is false, unless force is true */ @@ -264,10 +261,7 @@ const scalebox = function ( /* * The miniscale macro */ -const miniscale = function ( - config, - { points, paths, scale, Point, Path, part, complete, log, store } -) { +const miniscale = function (config, { points, paths, scale, Point, Path, complete, log, store }) { /* * Don't add a title when complete is false, unless force is true */ diff --git a/plugins/plugin-annotations/src/sewtogether.mjs b/plugins/plugin-annotations/src/sewtogether.mjs index 1a2de63230e..49511b27d81 100644 --- a/plugins/plugin-annotations/src/sewtogether.mjs +++ b/plugins/plugin-annotations/src/sewtogether.mjs @@ -46,7 +46,7 @@ const rmsewtogether = (id = macroDefaults.id, { store, part }) => /* * The sewtogether macro */ -const sewtogether = function (config, { paths, Path, log, Point, complete, sa, store, part }) { +const sewtogether = function (config, { paths, Path, log, Point, complete, sa, store }) { /* * Don't add a title when complete is false, unless force is true */