1
0
Fork 0

chore: Linter changes

This commit is contained in:
Joost De Cock 2021-04-24 10:16:31 +02:00
parent dfdfc46ded
commit f191151ee4
354 changed files with 2467 additions and 2472 deletions

View file

@ -13,7 +13,7 @@ export default (part) => {
complete,
paperless,
macro,
options
options,
} = part.shorthand()
if (!options.seperateButtonPlacket || options.buttonPlacketStyle !== 'classic') {
@ -60,7 +60,7 @@ export default (part) => {
.attr('class', 'dotted')
macro('sprinkle', {
snippet: 'notch',
on: ['placketTopOut', 'placketBottomOut']
on: ['placketTopOut', 'placketBottomOut'],
})
// Buttons
@ -71,7 +71,7 @@ export default (part) => {
points.grainlineTo = points.placketTopEdge.shift(180, width / 2)
macro('grainline', {
from: points.grainlineFrom,
to: points.grainlineTo
to: points.grainlineTo,
})
// Title
@ -81,7 +81,7 @@ export default (part) => {
nr: '1b',
title: 'buttonPlacket',
scale: 0.75,
rotation: -90
rotation: -90,
})
// Logo
@ -105,17 +105,17 @@ export default (part) => {
macro('hd', {
from: points.placketTopIn,
to: points.placketTopOut,
y: points.placketTopIn.y - 15 - sa
y: points.placketTopIn.y - 15 - sa,
})
macro('hd', {
from: points.placketTopIn,
to: points.placketTopEdge,
y: points.placketTopIn.y - 30 - sa
y: points.placketTopIn.y - 30 - sa,
})
macro('vd', {
from: points.placketBottomEdge,
to: points.placketTopEdge,
x: points.placketTopEdge.x + 15 + sa
x: points.placketTopEdge.x + 15 + sa,
})
points.button0 = points.placketTopEdge
let j
@ -124,7 +124,7 @@ export default (part) => {
macro('vd', {
from: points['button' + j],
to: points['button' + i],
x: points.placketTopIn.x - 15 - sa
x: points.placketTopIn.x - 15 - sa,
})
}
}