Skip to content

Commit

Permalink
Update version of stylelint
Browse files Browse the repository at this point in the history
The Gruntfile runs stylelint, which errors with "font-family-no-missing-generic-family-keyword" undefined.  This rule was added in styleline 8.3.0, and our package.json here is earlier than that.  Updating it to force a version that works.

Error running npm test:

```
Running "stylelint:simple" (stylelint) task
Warning: Running stylelint failed
Error: Undefined rule font-family-no-missing-generic-family-keyword
  at module.exports (/Users/ralberth/MagicMirror/modules/MMM-MinecraftStatus/node_modules/stylelint/lib/utils/configurationError.js:8:27)
  at Object.keys.forEach.ruleName (/Users/ralberth/MagicMirror/modules/MMM-MinecraftStatus/node_modules/stylelint/lib/augmentConfig.js:279:13)
  at Array.forEach (<anonymous>:null:null)
  at normalizeAllRuleSettings (/Users/ralberth/MagicMirror/modules/MMM-MinecraftStatus/node_modules/stylelint/lib/augmentConfig.js:275:29)
  at augmentConfigBasic.then.then.then.then.augmentedConfig (/Users/ralberth/MagicMirror/modules/MMM-MinecraftStatus/node_modules/stylelint/lib/augmentConfig.js:84:12)
  at <anonymous>:null:null
 Use --force to continue.
```

See stylelint/stylelint#3042 for description.
  • Loading branch information
ralberth committed Sep 6, 2018
1 parent 78c8b4e commit b8c38c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"grunt-markdownlint": "^1.0.13",
"grunt-stylelint": "latest",
"grunt-yamllint": "^0.3.0",
"stylelint": "^7.10.1",
"stylelint": "^8.3.0",
"stylelint-config-standard": "latest",
"time-grunt": "latest"
}
Expand Down

0 comments on commit b8c38c8

Please sign in to comment.