Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a8fb64f3
Commit
a8fb64f3
authored
7 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Lint examples' CSS too.
parent
ecdaf0e3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
build/.stylelintrc
+1
-1
build/.stylelintrc
docs/4.0/examples/.stylelintrc
+12
-0
docs/4.0/examples/.stylelintrc
docs/4.0/examples/blog/blog.css
+12
-6
docs/4.0/examples/blog/blog.css
package.json
+1
-1
package.json
with
26 additions
and
8 deletions
+26
-8
build/.stylelintrc
+
1
-
1
View file @
a8fb64f3
...
...
@@ -19,7 +19,7 @@
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-empty-line-before": null,
"declaration-no-important": true,
"font-family-name-quotes": "always-where-re
quir
ed",
"font-family-name-quotes": "always-where-re
commend
ed",
"font-weight-notation": "numeric",
"function-comma-space-after": null,
"function-url-no-scheme-relative": true,
...
...
This diff is collapsed.
Click to expand it.
docs/4.0/examples/.stylelintrc
0 → 100644
+
12
-
0
View file @
a8fb64f3
{
"extends": "../../../build/.stylelintrc",
"rules": {
"at-rule-no-vendor-prefix": null,
"comment-empty-line-before": null,
"media-feature-name-no-vendor-prefix": null,
"property-no-vendor-prefix": null,
"selector-no-qualifying-type": null,
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null
}
}
This diff is collapsed.
Click to expand it.
docs/4.0/examples/blog/blog.css
+
12
-
6
View file @
a8fb64f3
...
...
@@ -13,12 +13,18 @@ body {
color
:
#555
;
}
h1
,
.h1
,
h2
,
.h2
,
h3
,
.h3
,
h4
,
.h4
,
h5
,
.h5
,
h6
,
.h6
{
h1
,
.h1
,
h2
,
.h2
,
h3
,
.h3
,
h4
,
.h4
,
h5
,
.h5
,
h6
,
.h6
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-weight
:
400
;
color
:
#333
;
...
...
This diff is collapsed.
Click to expand it.
package.json
+
1
-
1
View file @
a8fb64f3
...
...
@@ -25,7 +25,7 @@
"css-compile"
:
"node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css"
,
"css-compile-docs"
:
"node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 assets/scss/docs.scss assets/css/docs.min.css"
,
"css-lint"
:
"stylelint --config build/.stylelintrc --syntax scss
\"
scss/**/*.scss
\"
"
,
"css-lint-docs"
:
"stylelint --config build/.stylelintrc --syntax scss
\"
assets/scss/*.scss
\"
"
,
"css-lint-docs"
:
"stylelint --config build/.stylelintrc --syntax scss
\"
assets/scss/*.scss
\"
&& stylelint --config docs/4.0/examples/.stylelintrc
\"
docs/**/*.css
\"
"
,
"css-prefix"
:
"postcss --config build/postcss.config.js --replace
\"
dist/css/*.css
\"
"
,
"css-prefix-docs"
:
"postcss --config build/postcss.config.js --replace
\"
assets/css/docs.min.css
\"
\"
docs/**/*.css
\"
"
,
"css-minify"
:
"cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment