1
0
Fork 0

🚨 Removed linter warnings

This commit is contained in:
Joost De Cock 2019-05-10 13:21:21 +02:00
parent 803e1c0552
commit 2b91e0282c
8 changed files with 4 additions and 37 deletions

View file

@ -6,7 +6,6 @@ export default function(part) {
Point, Point,
Path, Path,
points, points,
paths,
store, store,
options, options,
measurements, measurements,

View file

@ -8,9 +8,6 @@ export default function(part) {
points, points,
Path, Path,
paths, paths,
Snippet,
snippets,
measurements,
complete, complete,
paperless, paperless,
macro macro

View file

@ -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;

View file

@ -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);

View file

@ -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;

View file

@ -12,8 +12,7 @@ export default part => {
Path, Path,
paths, paths,
complete, complete,
paperless, paperless
macro
} = part.shorthand(); } = part.shorthand();
draftFrenchCuff(part); draftFrenchCuff(part);

View file

@ -7,7 +7,6 @@ import {
export default part => { export default part => {
let { let {
store, store,
measurements,
sa, sa,
points, points,
Path, Path,

View file

@ -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);