🚨 Removed linter warnings
This commit is contained in:
parent
803e1c0552
commit
2b91e0282c
8 changed files with 4 additions and 37 deletions
|
@ -6,7 +6,6 @@ export default function(part) {
|
||||||
Point,
|
Point,
|
||||||
Path,
|
Path,
|
||||||
points,
|
points,
|
||||||
paths,
|
|
||||||
store,
|
store,
|
||||||
options,
|
options,
|
||||||
measurements,
|
measurements,
|
||||||
|
|
|
@ -8,9 +8,6 @@ export default function(part) {
|
||||||
points,
|
points,
|
||||||
Path,
|
Path,
|
||||||
paths,
|
paths,
|
||||||
Snippet,
|
|
||||||
snippets,
|
|
||||||
measurements,
|
|
||||||
complete,
|
complete,
|
||||||
paperless,
|
paperless,
|
||||||
macro
|
macro
|
||||||
|
|
|
@ -1,15 +1,7 @@
|
||||||
import draftPanel1ab from "./panel1ab";
|
import draftPanel1ab from "./panel1ab";
|
||||||
|
|
||||||
export default function(part) {
|
export default function(part) {
|
||||||
let {
|
let { macro, sa, paths, options, complete, paperless } = part.shorthand();
|
||||||
macro,
|
|
||||||
sa,
|
|
||||||
paths,
|
|
||||||
Path,
|
|
||||||
options,
|
|
||||||
complete,
|
|
||||||
paperless
|
|
||||||
} = part.shorthand();
|
|
||||||
|
|
||||||
delete paths.outline;
|
delete paths.outline;
|
||||||
delete paths.panel2;
|
delete paths.panel2;
|
||||||
|
|
|
@ -10,16 +10,7 @@ export default function(part) {
|
||||||
} = part.shorthand();
|
} = part.shorthand();
|
||||||
|
|
||||||
const fitCap = (part, scale) => {
|
const fitCap = (part, scale) => {
|
||||||
let {
|
let { points, options, Point, Path, measurements } = part.shorthand();
|
||||||
sa,
|
|
||||||
complete,
|
|
||||||
points,
|
|
||||||
options,
|
|
||||||
Point,
|
|
||||||
paths,
|
|
||||||
Path,
|
|
||||||
measurements
|
|
||||||
} = part.shorthand();
|
|
||||||
|
|
||||||
let base = scale * measurements.headCircumference * (1 + options.headEase);
|
let base = scale * measurements.headCircumference * (1 + options.headEase);
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,6 @@ export default part => {
|
||||||
measurements.neckCircumference * (1 + options.collarEase) * tweak;
|
measurements.neckCircumference * (1 + options.collarEase) * tweak;
|
||||||
let width = options.collarStandWidth;
|
let width = options.collarStandWidth;
|
||||||
let half = length / 2;
|
let half = length / 2;
|
||||||
let buttonSideExtra = options.buttonPlacketWidth / 2;
|
|
||||||
let buttonholeSideExtra = options.buttonholePlacketWidth / 2;
|
|
||||||
let bend = options.collarStandBend * -1;
|
let bend = options.collarStandBend * -1;
|
||||||
let curve = options.collarStandCurve - options.collarStandBend;
|
let curve = options.collarStandCurve - options.collarStandBend;
|
||||||
let hinge = 90 + (bend + curve) / 2;
|
let hinge = 90 + (bend + curve) / 2;
|
||||||
|
|
|
@ -12,8 +12,7 @@ export default part => {
|
||||||
Path,
|
Path,
|
||||||
paths,
|
paths,
|
||||||
complete,
|
complete,
|
||||||
paperless,
|
paperless
|
||||||
macro
|
|
||||||
} = part.shorthand();
|
} = part.shorthand();
|
||||||
|
|
||||||
draftFrenchCuff(part);
|
draftFrenchCuff(part);
|
||||||
|
|
|
@ -7,7 +7,6 @@ import {
|
||||||
export default part => {
|
export default part => {
|
||||||
let {
|
let {
|
||||||
store,
|
store,
|
||||||
measurements,
|
|
||||||
sa,
|
sa,
|
||||||
points,
|
points,
|
||||||
Path,
|
Path,
|
||||||
|
|
|
@ -5,15 +5,7 @@ import {
|
||||||
} from "./shared";
|
} from "./shared";
|
||||||
|
|
||||||
export default part => {
|
export default part => {
|
||||||
let {
|
let { sa, points, Path, paths, complete, paperless } = part.shorthand();
|
||||||
store,
|
|
||||||
sa,
|
|
||||||
points,
|
|
||||||
Path,
|
|
||||||
paths,
|
|
||||||
complete,
|
|
||||||
paperless
|
|
||||||
} = part.shorthand();
|
|
||||||
|
|
||||||
draftFrenchCuff(part);
|
draftFrenchCuff(part);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue