Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Releases: twbs/bootlint

v0.8.0

07 Nov 09:44
Compare
Choose a tag to compare

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

02 Nov 01:25
Compare
Choose a tag to compare

Released 2014-11-01.

Tweaks lint message texts. Adds 1 new lint check.

Changes:

  • #158: Add check for empty spacer grid columns used instead of grid column offsets
  • #159: Add backticks around HTML tag mentions in lint message texts to improve results when the lint messages are rendered as/by Markdown

v0.6.0 – Happy Halloween!

31 Oct 18:24
Compare
Choose a tag to compare

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

17 Oct 02:05
Compare
Choose a tag to compare

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 a type 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

07 Oct 19:03
Compare
Choose a tag to compare

Released 2014-10-07.

Changes:

  • #115: .panel-collapse is a valid parent for a .panel-footer
  • #118: Add checks for correct Glyphicon usage
  • #119: Add checks for proper modal markup structure
  • #120: Document how Bootlint's test suite works
  • Fix English grammar errors in CLI output

v0.3.0

26 Sep 20:46
Compare
Choose a tag to compare
  • 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

24 Sep 00:47
Compare
Choose a tag to compare

2014-09-23: First formal release.
Announcement: http://blog.getbootstrap.com/2014/09/23/bootlint/

v0.1.0

21 Jul 16:52
Compare
Choose a tag to compare
v0.1.0