1
0
Fork 0

chore: Linter run

This commit is contained in:
Joost De Cock 2021-08-30 11:40:16 +02:00
parent e693c7712e
commit ef3bd03e2c
183 changed files with 919 additions and 1838 deletions

View file

@ -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()],
}

View file

@ -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

View file

@ -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]

View file

@ -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)

View file

@ -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)