1
0
Fork 0

🚨 Removed linter warnings

This commit is contained in:
Joost De Cock 2019-05-10 13:14:31 +02:00
parent 14d8f75929
commit 803e1c0552
138 changed files with 1591 additions and 1250 deletions

View file

@ -1,7 +1,6 @@
import freesewing from "@freesewing/core";
import plugins from "@freesewing/plugin-bundle";
import config from "../config/";
import { version } from "../package.json";
// Path API
import draftPath_ops from "./path_ops";
import draftPath_attr from "./path_attr";
@ -103,7 +102,6 @@ let methods = {
draftPlugin_logo,
draftPlugin_scalebox,
draftPlugin_title,
draftPoint_attr,
draftPoint_angle,
draftPoint_attr,
draftPoint_clone,

View file

@ -1,6 +1,5 @@
export default part => {
// prettier-ignore
let { Point, points, Path, paths, Snippet, snippets } = part.shorthand()
let { Point, points, Path, paths, Snippet, snippets } = part.shorthand();
points.A = new Point(45, 60);
points.B = new Point(10, 30);

View file

@ -1,6 +1,5 @@
export default part => {
// prettier-ignore
let { Point, points, Path, paths } = part.shorthand()
let { Point, points, Path, paths } = part.shorthand();
points.A = new Point(45, 60);
points.B = new Point(10, 30);

View file

@ -1,6 +1,13 @@
export default part => {
// prettier-ignore
let { Point, points, Path, paths, Snippet, snippets, utils } = part.shorthand()
let {
Point,
points,
Path,
paths,
Snippet,
snippets,
utils
} = part.shorthand();
points.from1 = new Point(10, 10);
points.to1 = new Point(90, 60);

View file

@ -1,13 +1,5 @@
export default part => {
let {
Point,
points,
Path,
paths,
utils,
snippets,
Snippet
} = part.shorthand();
let { Point, points, Path, paths, utils } = part.shorthand();
points.from = new Point(40, 10);
points.to = new Point(40, 80);