Skip to content

Can't swap out 1:1 without error #37

@johnnyshankman

Description

@johnnyshankman
 INFO  Starting development server...
 ERROR  TypeError: message.text.replace is not a function
TypeError: message.text.replace is not a function
    at /Users/johnshankman/Documents/manifoldxyz/manifold-burn-redeem-widgets/node_modules/stylelint/lib/formatters/stringFormatter.js:149:6
    at Array.map (<anonymous>)
    at formatter (/Users/johnshankman/Documents/manifoldxyz/manifold-burn-redeem-widgets/node_modules/stylelint/lib/formatters/stringFormatter.js:135:42)
    at /Users/johnshankman/Documents/manifoldxyz/manifold-burn-redeem-widgets/node_modules/stylelint/lib/formatters/stringFormatter.js:212:12
    at Array.reduce (<anonymous>)

All i did was swap from stylelint-config-standard to stylelint-config-standard-scss

module.exports = {
  processors: [
    [
      '@mapbox/stylelint-processor-arbitrary-tags',
      {
        fileFilterRegex: [/\.vue$/]
      }
    ]
  ],
  "extends": "stylelint-config-standard-scss",
  rules: {
    'string-quotes': 'single',
    'no-duplicate-selectors': null,
    'no-descending-specificity': null,
    'at-rule-no-unknown': null,
    'block-no-empty': process.env.NODE_ENV === 'production' ? true : null,
    'no-empty-source': null,
  }
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions