Skip to content

Commit 58e9486

Browse files
authored
Build: remove grunt-bootlint (#2528)
1 parent d328a4f commit 58e9486

File tree

5 files changed

+9
-1744
lines changed

5 files changed

+9
-1744
lines changed

Gruntfile.coffee

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,57 +1022,6 @@ module.exports = (grunt) ->
10221022
"!~sites/wetboew-demos/*"
10231023
]
10241024

1025-
bootlint:
1026-
all:
1027-
options:
1028-
stoponerror: true
1029-
stoponwarning: true
1030-
showallerrors: true
1031-
relaxerror: [
1032-
# We recommend handling this through the server headers so it never appears in the markup
1033-
"W002" # `<head>` is missing X-UA-Compatible `<meta>` tag that disables old IE compatibility modes
1034-
# TODO: The rules below should be resolved
1035-
"E013" # Only columns (`.col-*-*`) may be children of `.row`s
1036-
"E014" # Columns (`.col-*-*`) can only be children of `.row`s or `.form-group`s
1037-
"E031" # Glyphicon classes must only be used on elements that contain no text content and have no child elements.
1038-
"E023" # `.panel-body` must have a `.panel` or `.panel-collapse` parent
1039-
"E024" # `.panel-heading` must have a `.panel` parent
1040-
"W010" # Using `.pull-left` or `.pull-right` as part of the media object component is deprecated as of Bootstrap v3.3.0. Use `.media-left` or `.media-right` instead.
1041-
"E032" # `.modal-content` must be a child of `.modal-dialog`
1042-
"W009" # Using empty spacer columns isn't necessary with Bootstrap's grid. So instead of having an empty grid column with `class="col-xs-12"` , just add `class="col-xs-offset-12"` to the next grid column.
1043-
"E012" # `.input-group` and `.col-*-*` cannot be used directly on the same element. Instead, nest the `.input-group` within the `.col-*-*`
1044-
"E017" # GCWeb wants to support explicit labels when using checkbox inputs under the .gc-chckbxrdio .checkbox classes
1045-
"E018" # GCWeb wants to support explicit labels when using radio inputs under the .gc-chckbxrdio .radio classes
1046-
]
1047-
src: [
1048-
"~sites/**/*.html"
1049-
# Ignore wet-boew demos files
1050-
"!~sites/wetboew-demos/*"
1051-
# Ignore HTML fragments used for the menus
1052-
"!~sites/**/assets/*.html"
1053-
"!~sites/**/ajax/*.html"
1054-
# Ignore deprecated page as it is just for testing
1055-
"!~sites/**/deprecated-*.html"
1056-
# Ignore Bootstrap 4 test page
1057-
"!~sites/**/bootstrap-4.html"
1058-
]
1059-
bootstrap4:
1060-
options:
1061-
stoponerror: true
1062-
stoponwarning: true
1063-
showallerrors: true
1064-
relaxerror: [
1065-
# We recommend handling this through the server headers so it never appears in the markup
1066-
"W002" # `<head>` is missing X-UA-Compatible `<meta>` tag that disables old IE compatibility modes
1067-
# Ignore jQuery missing warning
1068-
"W005" # Unable to locate jQuery, which is required for Bootstrap's JavaScript plugins to work; however, you might not be using Bootstrap's JavaScript
1069-
# Ignore Bootstrap 4 usage warning
1070-
"W015" # Detected what appears to be Bootstrap v4 or later. This version of Bootlint only supports Bootstrap v3.
1071-
]
1072-
src: [
1073-
"~sites/**/bootstrap-4.html"
1074-
]
1075-
10761025
watch:
10771026
gruntfile:
10781027
files: "Gruntfile.coffee"

docs/developing-en.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,6 @@ HTML link checker
9696
docker exec -i gcweb_jekyll rake
9797
```
9898

99-
Bootlint test
100-
101-
```shell
102-
grunt bootlint
103-
```
104-
10599
HTML lint
106100

107101
```shell

docs/developing-fr.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ HTML link checker
9898
docker exec -i gcweb_jekyll rake
9999
```
100100

101-
Bootlint test
102-
103-
```shell
104-
grunt bootlint
105-
```
106-
107101
HTML lint
108102

109103
```shell

0 commit comments

Comments
 (0)