thebespokepixel/palette2oco

View on GitHub

Showing 2 of 5 total issues

Function loadASE has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function loadASE(identity) {
    function scan(node) {
        return node.map(datum => {
            switch (datum.type) {
                case 'color':
Severity: Minor
Found in src/classes/reader.js - About 2 hrs to fix

    Function scan has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function scan(node) {
            return node.map(datum => {
                switch (datum.type) {
                    case 'color':
                        switch (datum.color.model) {
    Severity: Minor
    Found in src/classes/reader.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language