Skip to content

Commit

Permalink
Error out on items instead of just warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell committed Jan 4, 2018
1 parent 145f461 commit 7062147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@ module.exports = {
"tmi/bem-no-element-nesting": true,
"media-feature-name-blacklist": [
"max-width", {
"severity": "warning",
"message": "Avoid 'max-width' unless absolutely necessary. Sites should be built mobile first",
"severity": "error",
"message": "Unexpected 'max-width' media query. Use 'min-width' media queries for a mobile-first approach.",
}
],
"color-hex-case": "lower",
"color-hex-length": "short",
"declaration-no-important": [true, {
"severity": "warning",
"message": "Avoid !important if possible. It usually indicates a deeper specificity problem."
}],
"declaration-no-important": true,
"number-no-trailing-zeros": true,
"selector-max-id": 0,
"string-no-newline": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-trendyminds-standard",
"version": "2.0.0",
"version": "2.1.0",
"description": "Standard shareable config for stylelint",
"keywords": [
"stylelint",
Expand Down

0 comments on commit 7062147

Please sign in to comment.