chore: Linter
This commit is contained in:
parent
1a46c8e724
commit
e014b220c1
6 changed files with 45 additions and 63 deletions
|
@ -20,7 +20,7 @@
|
|||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"jsonlint": "yarn --silent jsonlint:files | xargs -n1 jsonlint -q -c && echo \"jsonlint: no lint errors\"",
|
||||
"jsonlint:files": "find . -name \"*.json\" | grep -v -f .eslintignore",
|
||||
"prettier": "npx prettier --write 'packages/**/src/*.js'",
|
||||
"prettier": "npx prettier --write 'packages/**/src/*.js' 'packages/**/config/*.js' 'packages/**/example/src/*'",
|
||||
"reconfigure": "npx babel-node scripts/reconfigure.js",
|
||||
"dxf": "npx babel-node scripts/export-dxf.js",
|
||||
"prerelease": "lerna version --no-git-tag-version --no-push && yarn reconfigure && lerna run build",
|
||||
|
|
|
@ -10,30 +10,16 @@ export default {
|
|||
difficulty: 3,
|
||||
tags: ['block', 'top', 'basics'],
|
||||
optionGroups: {
|
||||
fit: [
|
||||
'chestEase',
|
||||
'waistEase',
|
||||
'bustSpanEase'
|
||||
],
|
||||
darts: [
|
||||
'backDartHeight',
|
||||
'bustDartLength',
|
||||
'waistDartLength',
|
||||
'bustDartCurve'
|
||||
],
|
||||
fit: ['chestEase', 'waistEase', 'bustSpanEase'],
|
||||
darts: ['backDartHeight', 'bustDartLength', 'waistDartLength', 'bustDartCurve'],
|
||||
armhole: [
|
||||
'armholeDepth',
|
||||
'backArmholeSlant',
|
||||
'backArmholeCurvature',
|
||||
'frontArmholePitchDepth',
|
||||
'backArmholePitchDepth',
|
||||
'backArmholePitchDepth'
|
||||
],
|
||||
advanced: [
|
||||
'backNeckCutout',
|
||||
'backHemSlope',
|
||||
'frontShoulderWidth',
|
||||
'highBustWidth',
|
||||
]
|
||||
advanced: ['backNeckCutout', 'backHemSlope', 'frontShoulderWidth', 'highBustWidth']
|
||||
},
|
||||
measurements: [
|
||||
'highBust',
|
||||
|
@ -89,6 +75,6 @@ export default {
|
|||
highBustWidth: { pct: 86, max: 92, min: 80 },
|
||||
bustDartLength: { pct: 90, min: 75, max: 100 },
|
||||
waistDartLength: { pct: 90, min: 75, max: 95 },
|
||||
bustDartCurve: { pct: 100, min: 0, max: 100 },
|
||||
bustDartCurve: { pct: 100, min: 0, max: 100 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,35 +1,35 @@
|
|||
import { version } from "../package.json";
|
||||
import { version } from '../package.json'
|
||||
|
||||
// ?? 🤔 ?? --> https://{{language}}.freesewing.dev/packages/core/config
|
||||
|
||||
export default {
|
||||
name: "{{name}}",
|
||||
name: '{{name}}',
|
||||
version,
|
||||
design: "{{author}}",
|
||||
code: "{{author}}",
|
||||
department: "{{department}}",
|
||||
type: "{{type}}",
|
||||
design: '{{author}}',
|
||||
code: '{{author}}',
|
||||
department: '{{department}}',
|
||||
type: '{{type}}',
|
||||
difficulty: 3,
|
||||
tags: [
|
||||
"freesewing",
|
||||
"design",
|
||||
"diy",
|
||||
"fashion",
|
||||
"made to measure",
|
||||
"parametric design",
|
||||
"{{type}}",
|
||||
"sewing",
|
||||
"sewing pattern"
|
||||
'freesewing',
|
||||
'design',
|
||||
'diy',
|
||||
'fashion',
|
||||
'made to measure',
|
||||
'parametric design',
|
||||
'{{type}}',
|
||||
'sewing',
|
||||
'sewing pattern'
|
||||
],
|
||||
optionGroups: {
|
||||
fit: ["size"]
|
||||
fit: ['size']
|
||||
},
|
||||
measurements: [],
|
||||
dependencies: {},
|
||||
inject: {},
|
||||
hide: [],
|
||||
parts: ["box"],
|
||||
parts: ['box'],
|
||||
options: {
|
||||
size: { pct: 50, min: 10, max: 100 }
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -225,7 +225,6 @@ li.action span.MuiSwitch-root {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
footer {
|
||||
background-color: #1a1d21;
|
||||
color: #adb5bd;
|
||||
|
|
|
@ -1,21 +1,18 @@
|
|||
import { version } from "../package.json";
|
||||
import { version } from '../package.json'
|
||||
|
||||
// ?? 🤔 ?? --> https://en.freesewing.dev/packages/core/config
|
||||
// 🤔 --> https://freesewing.dev/reference/config/
|
||||
|
||||
export default {
|
||||
name: "hortensia",
|
||||
name: 'hortensia',
|
||||
version,
|
||||
design: ['Stoffsuchti', 'Wouter Van Wageningen'],
|
||||
code: 'Wouter Van Wageningen',
|
||||
department: "accessories",
|
||||
type: "pattern",
|
||||
department: 'accessories',
|
||||
type: 'pattern',
|
||||
difficulty: 3,
|
||||
tags: [
|
||||
"handbag",
|
||||
"accessories",
|
||||
],
|
||||
tags: ['handbag', 'accessories'],
|
||||
optionGroups: {
|
||||
options: ["size", "zipperSize","strapLength","handleWidth"]
|
||||
options: ['size', 'zipperSize', 'strapLength', 'handleWidth']
|
||||
},
|
||||
measurements: [],
|
||||
dependencies: {
|
||||
|
@ -23,7 +20,7 @@ export default {
|
|||
bottompanel: 'sidepanel',
|
||||
frontpanel: 'sidepanel',
|
||||
sidepanelreinforcement: 'sidepanel',
|
||||
zipperpanel: 'sidepanel',
|
||||
zipperpanel: 'sidepanel'
|
||||
},
|
||||
options: {
|
||||
width: 230,
|
||||
|
@ -35,6 +32,6 @@ export default {
|
|||
strapLength: { pct: 160, min: 75, max: 250 },
|
||||
handleWidth: { mm: 20, min: 7, max: 30 },
|
||||
size: { pct: 50, min: 20, max: 200 },
|
||||
zipperSize: { dflt: '#5', list: ['#3','#4','#4.5','#5','#6','#8','#10','Invisible']}
|
||||
zipperSize: { dflt: '#5', list: ['#3', '#4', '#4.5', '#5', '#6', '#8', '#10', 'Invisible'] }
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
import { version } from "../package.json";
|
||||
import { version } from '../package.json'
|
||||
|
||||
export default {
|
||||
name: "rendertest",
|
||||
name: 'rendertest',
|
||||
version,
|
||||
design: "Joost De Cock",
|
||||
code: "Joost De Cock",
|
||||
department: "womenswear",
|
||||
type: "pattern",
|
||||
design: 'Joost De Cock',
|
||||
code: 'Joost De Cock',
|
||||
department: 'womenswear',
|
||||
type: 'pattern',
|
||||
difficulty: 1,
|
||||
tags: ["example"],
|
||||
tags: ['example'],
|
||||
optionGroups: {
|
||||
size: ["width"],
|
||||
content: ["colors", "circles", "text", "snippets", "macros"]
|
||||
size: ['width'],
|
||||
content: ['colors', 'circles', 'text', 'snippets', 'macros']
|
||||
},
|
||||
measurements: [],
|
||||
parts: ["test"],
|
||||
parts: ['test'],
|
||||
options: {
|
||||
width: { mm: 200, min: 50, max: 500 },
|
||||
colors: { bool: true },
|
||||
|
@ -24,4 +24,4 @@ export default {
|
|||
macros: { bool: true },
|
||||
widthHd: { bool: true }
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue