chore: Linter run
This commit is contained in:
parent
e693c7712e
commit
ef3bd03e2c
183 changed files with 919 additions and 1838 deletions
|
@ -12,23 +12,18 @@ const output = [
|
|||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
exports: rollup.exports,
|
||||
}
|
||||
},
|
||||
]
|
||||
if (typeof module !== 'undefined')
|
||||
output.push({
|
||||
banner,
|
||||
file: module,
|
||||
format: 'es',
|
||||
sourcemap: true
|
||||
sourcemap: true,
|
||||
})
|
||||
|
||||
export default {
|
||||
input: 'src/index.js',
|
||||
output,
|
||||
plugins: [
|
||||
peerDepsExternal(),
|
||||
resolve({ modulesOnly: true }),
|
||||
commonjs(),
|
||||
json(),
|
||||
]
|
||||
plugins: [peerDepsExternal(), resolve({ modulesOnly: true }), commonjs(), json()],
|
||||
}
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
export default function (part) {
|
||||
let {
|
||||
macro,
|
||||
measurements,
|
||||
Point,
|
||||
points,
|
||||
Path,
|
||||
paths,
|
||||
complete,
|
||||
sa,
|
||||
paperless,
|
||||
} = part.shorthand()
|
||||
let { macro, measurements, Point, points, Path, paths, complete, sa, paperless } =
|
||||
part.shorthand()
|
||||
|
||||
let width = measurements.hips * 0.16
|
||||
let height = width * 1.43
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
export default function (part) {
|
||||
let {
|
||||
Point,
|
||||
points,
|
||||
Path,
|
||||
paths,
|
||||
complete,
|
||||
sa,
|
||||
paperless,
|
||||
macro,
|
||||
snippets,
|
||||
Snippet,
|
||||
} = part.shorthand()
|
||||
let { Point, points, Path, paths, complete, sa, paperless, macro, snippets, Snippet } =
|
||||
part.shorthand()
|
||||
|
||||
// Clean up inherited paths & snippets
|
||||
for (let id in paths) delete paths[id]
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
export default function (part) {
|
||||
let {
|
||||
Point,
|
||||
snippets,
|
||||
Snippet,
|
||||
macro,
|
||||
points,
|
||||
paths,
|
||||
Path,
|
||||
complete,
|
||||
sa,
|
||||
paperless,
|
||||
} = part.shorthand()
|
||||
let { Point, snippets, Snippet, macro, points, paths, Path, complete, sa, paperless } =
|
||||
part.shorthand()
|
||||
|
||||
points[0] = points[0].shift(180, 80)
|
||||
points[3] = points[3].shift(180, 80)
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
export default function (part) {
|
||||
let {
|
||||
Point,
|
||||
macro,
|
||||
snippets,
|
||||
Snippet,
|
||||
points,
|
||||
paths,
|
||||
Path,
|
||||
complete,
|
||||
sa,
|
||||
paperless,
|
||||
} = part.shorthand()
|
||||
let { Point, macro, snippets, Snippet, points, paths, Path, complete, sa, paperless } =
|
||||
part.shorthand()
|
||||
|
||||
points[0] = points[0].shift(180, 80)
|
||||
points[3] = points[3].shift(180, 80)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue