chore: Linter fixes
This commit is contained in:
parent
b1429a3704
commit
ef5e792d6b
40 changed files with 93 additions and 99 deletions
|
@ -1,5 +1,4 @@
|
|||
import { Pattern } from './pattern.mjs'
|
||||
import { addPartConfig } from './utils.mjs'
|
||||
import { loadDesignDefaults } from './config.mjs'
|
||||
|
||||
/*
|
||||
|
|
|
@ -4,7 +4,6 @@ import {
|
|||
addNonEnumProp,
|
||||
macroName,
|
||||
sampleStyle,
|
||||
capitalize,
|
||||
addPartConfig,
|
||||
mergeDependencies,
|
||||
} from './utils.mjs'
|
||||
|
@ -151,7 +150,7 @@ Pattern.prototype.getConfig = function () {
|
|||
/* Utility method to get the (initialized) part list */
|
||||
Pattern.prototype.getPartList = function () {
|
||||
this.init()
|
||||
return Object.keys(this.config.parts) || []
|
||||
return Object.keys(this.config.parts)
|
||||
}
|
||||
|
||||
function snappedOption(option, pattern) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue