Releases: twbs/bootlint
v0.8.0
Released 2014-11-07.
When in a Node.js environment, Bootlint now reports the locations (i.e. line & column numbers) of the HTML source code of problematic elements.
Relatedly, the CLI also outputs source code locations for lint problems and, if there are multiple occurrences of a problem, the CLI now outputs the lint problem message repeatedly, once per occurrence. Previously, unless the error message contained extra per-element information, it would only output the message for a given problem once, regardless of its number of occurrences. The total number of problems reported by the CLI for a given HTML document may therefore increase, compared to Bootlint v0.7.0.
This release contains no meaningful changes whatsoever for the in-browser version of Bootlint.
No lint problem checks were added or modified in this release.
Changes:
- #169: Bump
cheerio
dependency to^0.18.0
(for #172) - #170: Enable
withStartIndices
option in Cheerio HTML parser (for #172) - #172: When in a Node.js environment, report the locations (i.e. line & column numbers) of the HTML source code of problematic elements. Finishes implementing #29.
- 9663f82: Expose problematic element locations in JSON HTTP API
v0.7.0
v0.6.0 – Happy Halloween!
Released 2014-10-31.
[Note: The version number in the header comment in /dist/browser/bootlint.js
for this release incorrectly says v0.5.0
instead of v0.6.0
. This error was noticed on 2014-11-01 by @jmervine in #161. We will release v0.7.0 soon so as to minimize the impact of this error.]
Changes:
- #139: Add check for incorrect usage of
.form-inline
or.form-horizontal
on a.form-group
- #140: 100% test coverage of code (other than the HTTP API) !
- #144: Add simple HTTP API
- #147: Add check for correct dismissible alerts structure
- #148: Fix jQuery version checker to handle version strings of custom jQuery builds
- #149: Fix crash bug caused by error in grid column class regexes
- #153: Add check for deprecated usage of
.pull-left
and.pull-right
within.media
v0.5.0
Released 2014-10-16.
Adds significant new features!
Changes:
- #78: Add bookmarklet to docs for easier in-browser use of Bootlint
- #102: Add wiki pages explaining each lint problem
- #110: Move automatic in-browser lint-upon-load logic into bookmarklet
- #122: Include problematic elements as
LintError.elements
&LintWarning.elements
, and output them when in a browser environment - #126: E008 is now W008 (downgraded from error to warning)
- #127: Tweak message for W007 (now "Found one or more
<button>
s missing atype
attribute.") - #128: Add
disable
option to CLI - #129: Add check for minimum required jQuery version (1.9.0)
- #130: Output link to wiki when lint problems are present
- #131: Colorize output
- bump
npm-shrinkwrap
to^4.0.0
v0.4.0
v0.3.0
- 5f35d18: grunt-bootlint is now Bootlint's officially endorsed Grunt plugin
- #43: Bootlint is now available on BootstrapCDN
- #74: Add lint check ensuring that
.table-responsive
is used on a table's parent div and not on the table itself. - #79: Add lint check for redundant use of grid column classes
- #89: Fixed false positive regarding
button[type="reset"]
- #90: Have the CLI do globbing of its path arguments because Windows
- #93: Fix
.row
/.container
lint check to complain when.row
and.container
are both used on the same element - #97: Add lint check that
.form-control-feedback
must have a.form-group.has-feedback
ancestor - #101: Give each lint check a unique ID that also indicates whether it's an error or merely a warning
- #103: Add
disabledIds
option to APIs to disable specified lint checks
v0.2.0
2014-09-23: First formal release.
Announcement: http://blog.getbootstrap.com/2014/09/23/bootlint/