1
0
Fork 0

chore: Added eslint config and workflow

This commit is contained in:
Joost De Cock 2022-09-15 07:53:35 +02:00
parent 56427cc4bd
commit c9f9202c9b
283 changed files with 12225 additions and 10807 deletions

View file

@ -8,7 +8,7 @@ describe('Gore Plugin Tests', () => {
it('Should create a default gore', () => {
const part = {
name: 'test',
draft: ({ Point, points, macro, paths, Path, snippets, Snippet }) => {
draft: ({ Point, points, macro }) => {
points.anchorPoint = new Point(50, 50)
macro('gore', {
from: points.anchorPoint,
@ -33,7 +33,7 @@ describe('Gore Plugin Tests', () => {
it('Should use a configurable number of gores', () => {
const part = {
name: 'test',
draft: ({ Point, points, macro, paths, Path, snippets, Snippet }) => {
draft: ({ Point, points, macro }) => {
points.anchorPoint = new Point(50, 50)
macro('gore', {
from: points.anchorPoint,
@ -59,7 +59,7 @@ describe('Gore Plugin Tests', () => {
it('Should use a configurable extra length', () => {
const part = {
name: 'test',
draft: ({ Point, points, macro, paths, Path, snippets, Snippet }) => {
draft: ({ Point, points, macro }) => {
points.anchorPoint = new Point(50, 50)
macro('gore', {
from: points.anchorPoint,
@ -85,7 +85,7 @@ describe('Gore Plugin Tests', () => {
it('Should use a configurable radius', () => {
const part = {
name: 'test',
draft: ({ Point, points, macro, paths, Path, snippets, Snippet }) => {
draft: ({ Point, points, macro }) => {
points.anchorPoint = new Point(50, 50)
macro('gore', {
from: points.anchorPoint,
@ -111,7 +111,7 @@ describe('Gore Plugin Tests', () => {
it('Should generate a seam path', () => {
const part = {
name: 'test',
draft: ({ Point, points, macro, paths, Path, snippets, Snippet }) => {
draft: ({ Point, points, macro }) => {
points.anchorPoint = new Point(50, 50)
macro('gore', {
from: points.anchorPoint,