Skip to content

Commit

Permalink
🐛 spotted at somepoint I accidentally passed blank params in to postc…
Browse files Browse the repository at this point in the history
…ss config preventing stylelint from firing. Fixed it, and updated styles to fix linting
  • Loading branch information
vipickering committed Dec 27, 2018
1 parent 8d768ca commit c40dd8c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 42 deletions.
23 changes: 0 additions & 23 deletions .stylelintrc
@@ -1,17 +1,5 @@
{
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always-single-line",
"at-rule-semicolon-newline-after": "always",
Expand All @@ -26,17 +14,6 @@
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"comment-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"stylelint-commands"
]
}
],
"comment-no-empty": true,
"comment-whitespace-inside": "always",
"custom-property-empty-line-before": [
Expand Down
5 changes: 1 addition & 4 deletions _css/application.css
Expand Up @@ -44,14 +44,11 @@
@import "layout/_z-index.css";
@import "layout/_flex.css";

/* No JS Widgets */
/*@import "widgets/_menu.css";*/

/* Code generated by markdown */
@import "layout/_generated-code.css";

/* Dynamic Type, overwrite other values if on iOS */
/*@import "typography/_dynamic-type.css";*/
/* @import "typography/_dynamic-type.css"; */

/* Print */
@import "_print.css";
4 changes: 1 addition & 3 deletions _css/grid/_grid.css
Expand Up @@ -20,9 +20,7 @@ pre {
align-items: center;
}

/*
When embedding CodePens or snippets. Allow them to break out the grid, but not go full screen
*/
/* When embedding CodePens or snippets. Allow them to break out the grid, but not go full screen */
.layoutGrid > .cp_embed_wrapper {
grid-column: full;
width: 100%;
Expand Down
5 changes: 1 addition & 4 deletions _css/utility/_media-queries.css
@@ -1,6 +1,4 @@
/*
CUSTOM MEDIA QUERIES
/* CUSTOM MEDIA QUERIES
Media query values can be changed to fit your own content.
There are no magic bullets when it comes to media query width values.
Expand All @@ -27,7 +25,6 @@
background-color: red;
}
}
*/

/* Media Queries */
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -36,6 +36,5 @@
"postcss-reporter": "^6.0.0",
"postcss-syntax": "^0.34.0",
"stylelint": "^9.9.0"
},
"dependencies": {}
}
}
7 changes: 2 additions & 5 deletions postcss.config.js
@@ -1,11 +1,8 @@
module.exports = {
map: false,
plugins: [
require('postcss-import')({
plugins: [
require('stylelint')('./.stylelintrc')
]
}),
require('postcss-import'),
require('stylelint'),
require('css-mqpacker'),
require('postcss-custom-media'),
require('cssnano')({ autoprefixer: false }),
Expand Down

0 comments on commit c40dd8c

Please sign in to comment.