1
0
Fork 0

rotating_light: Cleaning up linter warnings

This commit is contained in:
Joost De Cock 2019-03-17 17:47:46 +01:00
parent 50d938bcb9
commit 2ca09ceee0
15 changed files with 14 additions and 15 deletions

View file

@ -100,7 +100,6 @@ export default {
frontArmholeDeeper: { pct: 0.5, min: 0, max: 1.5 },
lengthBonus: { pct: 19, min: 0, max: 25 },
shoulderEase: { pct: 0, min: -2, max: 6 },
shoulderSlopeReduction: { pct: 0, min: 0, max: 8 },
sleeveBend: { deg: 10, min: 0, max: 20 },
sleevecapHeight: {pct: 45, min: 40, max: 60 },
sleevecapEase: { pct: 1, min: 0, max: 10 },

View file

@ -2,7 +2,7 @@ import { calculateRatios, backSideBoundary } from "./shared";
export default function(part) {
calculateRatios(part);
let { store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { store, points, measurements, options, Point, paths, Path } = part.shorthand();
/**
* Shaping the back seam

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, snippets, store, complete, points, options, macro, Point, paths, Path } = part.shorthand();
let width = store.get("chestPocketWidth");
let welt = store.get("chestPocketWeltHeight");

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, store, complete, points, options, macro, Point, paths, Path } = part.shorthand();
let width = store.get("chestPocketWidth");
let height = store.get("chestPocketWeltHeight");

View file

@ -6,7 +6,7 @@
*/
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, snippets, complete, points, options, macro, paths, Path } = part.shorthand();
// Add extra fabric for collar roll
points.collarCbTopRoll = points.collarCbTop.shift(-90, options.collarRoll);

View file

@ -7,7 +7,7 @@
*/
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, store, complete, points, measurements, options, macro, snippets, paths, Path } = part.shorthand();
// Only keep what's relevant from the front part
let collarPoints = [

View file

@ -1,7 +1,7 @@
import { backSideBoundary } from "./shared";
export default function(part) {
let { store, complete, points, utils, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { store, points, utils, options, Point, paths, Path } = part.shorthand();
/**
* Add side part from back to front, draw front style line

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, store, complete, points, options, macro, Point, paths, Path } = part.shorthand();
let width = store.get("innerPocketWidth");
let welt = store.get("innerPocketWeltHeight");

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, store, complete, points, macro, Point, paths, Path } = part.shorthand();
let width = store.get("innerPocketWidth");
let height = store.get("innerPocketWeltHeight");

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, store, complete, points, options, macro, Point, paths, Path } = part.shorthand();
let width = store.get("pocketWidth");
let depth = store.get("pocketDepth");

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, snippets, complete, points, options, macro, paths, Path } = part.shorthand();
// Adapt length
points.topLeft = points.edgeLeft.flipY(points.topLeft);

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, snippets, Snippet, utils, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
// Double back vent
if (options.backVent === 2) {

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, utils, complete, points, measurements, options, macro, paths, Path } = part.shorthand();
// Vent
let slope = 15;

View file

@ -6,7 +6,7 @@
*/
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, snippets, complete, points, macro, paths, Path } = part.shorthand();
// Clean up
for (let i of Object.keys(paths)) delete paths[i];

View file

@ -1,5 +1,5 @@
export default function(part) {
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
let { paperless, sa, utils, complete, points, measurements, options, macro, paths, Path } = part.shorthand();
// Vent
let slope = 15;