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

@ -15,7 +15,7 @@ const measurements = {
const part = {
name: 'test',
draft: ({ points, Point, macro }) => {
draft: ({ points, Point }) => {
points.from = new Point(10, 20)
points.to = new Point(10, 230)
},
@ -35,7 +35,6 @@ describe('Measurements Plugin Tests', () => {
})
it('Should calculate seatFront from seat and seatBack', function () {
const config = { measurements: {} }
const testPattern = new Design({
measurements: {},
plugins: [plugin],
@ -48,7 +47,6 @@ describe('Measurements Plugin Tests', () => {
})
it('Should calculate waistFrontArc and waistBackArc from waist and waistBack', function () {
const config = { measurements: {} }
const testPattern = new Design({
measurements: {},
plugins: [plugin],
@ -62,7 +60,6 @@ describe('Measurements Plugin Tests', () => {
})
it('Should calculate crossSeamBack from crossSeam and crossSeamFront', function () {
const config = { measurements: {} }
const testPattern = new Design({
measurements: {},
plugins: [plugin],