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()],
|
||||
}
|
||||
|
|
|
@ -10,8 +10,7 @@ export default {
|
|||
return pattern.debug({
|
||||
type: 'error',
|
||||
label: '👕 No measurements provided',
|
||||
msg:
|
||||
'You did not provide any measurements. Most, if not all, patterns require measurements, so this is most likely an issue.',
|
||||
msg: 'You did not provide any measurements. Most, if not all, patterns require measurements, so this is most likely an issue.',
|
||||
})
|
||||
for (let measurement of pattern.config.measurements) {
|
||||
if (!pattern.settings.measurements[measurement]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue