Граф коммитов

141 Коммитов

Автор SHA1 Сообщение Дата
XhmikosR 712bda8457 Update jQuery used in tests to v2.2.1. 2016-03-14 10:31:03 +02:00
Thomas Lindner 71a5c57866 Add W017 to check for <input>s without type attributes; fixes #341
Closes #350

* Add W017 to check for inputs that are missing a type attribute.
* Add new fixtures to test the new lint
* Update bootlint_test to call new fixtures
2016-02-01 12:42:07 -08:00
Thomas Lindner 8c2ea747ee Add lint E049 to check that .modal-dialog has role="document" ; fixes #319
Closes #349 by merging a rebased version of it.
2016-01-29 22:11:54 -08:00
Thomas Lindner 398d76fa05 Add new lint E048 to check that modals have role="dialog" attributes; fixes #318
Closes #348
2016-01-28 18:32:36 -08:00
Chris Rebert 45a15df01f Add Travis test that CLI isn't a no-op
Refs #333
2015-11-25 00:43:18 -08:00
Chris Rebert 380ea86663 Bump CURRENT_BOOTSTRAP_VERSION to 3.3.6
Refs http://blog.getbootstrap.com/2015/11/24/bootstrap-3-3-6-released/
2015-11-25 00:14:24 -08:00
Zac Echola 1325279860 Warn about .btn.disabled on <button>s and <input>s
Fixes #293
Closes #294
2015-11-16 02:30:14 -08:00
Chris Rebert 5bdbfbd090 Merge pull request #253 from kkirsche/addCLITests
[X-Ref: #179] Begin adding tests for CLI
2015-11-16 01:55:51 -08:00
Zac Echola d063bba365 Adds reporter for checking children of `.input-group`
Check that `.input-group` has at least one `.form-control` and at least
one of `.input-group-addon` or `.input-group-btn`.

Fixes #274
Closes #275
2015-11-16 01:34:02 -08:00
Phil Hughes 36d5def124 Shows an error for incorrect usage of .btn
.btn should only be used on a,button,input,label

Fixes #297
Closes #313
2015-11-16 01:11:53 -08:00
Phil Hughes 9b783b9460 Show an error for modals without tabindex attributes
Fixes #290
Closes #314
2015-11-15 21:40:15 -08:00
Chris Rebert 284c6c22f4 Merge pull request #306 from kkirsche/patch-1
Remove E036
2015-09-11 00:39:30 -07:00
Kevin Kirsche c435c56f75 Clarify W012
Fix #299
2015-09-02 06:48:32 -07:00
Kevin Kirsche 40a51a9c80 Remove E036
Fix #303
2015-09-02 06:46:10 -07:00
Zac Echola 68adc2e013 version bump in tests 2015-06-16 12:32:14 -05:00
Chris Rebert 4e4fda0dc1 add backticks to W008 message for better Markdown rendering 2015-05-22 13:38:30 -07:00
Kevin Kirsche baaddc4827 Add check for btn usage within `.navbar-nav`; fixes #273
Closes #279
2015-05-18 17:27:00 -07:00
Kevin Kirsche 7c539d393f .img-responsive should only be used on <img>s
[Fixes #277] .img-responsive should only be used on <img>s
2015-05-18 19:48:47 -04:00
Chris Rebert 1de9c75362 Merge pull request #263 from twbs/fix-262
Check for invalid uses of .form-control
2015-03-23 12:49:17 -07:00
Chris Rebert e0783e5de6 Check for invalid uses of .form-control ; fixes #262 2015-03-23 12:37:29 -07:00
Chris Rebert 91fd0fa347 "PhantonJS" [sic] 2015-03-21 20:33:54 -07:00
Chris Rebert 697b435415 update tests for Bootstrap v3.3.4 2015-03-16 09:07:07 -07:00
Chris Rebert 50234ce5b8 Fix #259: Allow "x-ua-compatible: ie=edge" 2015-03-15 05:48:25 -07:00
Kevin Kirsche 12c21b23e1 Begin reworking tests based on @hnrch02's tips
Begin reworking tests based on @hnrch02's tips
2015-03-03 16:13:05 -05:00
Kevin Kirsche e1a9ed39f9 [X-Ref: #179] Begin adding tests for CLI
[X-Ref: #179] Begin adding tests for CLI
2015-03-02 17:30:36 -05:00
Kevin Kirsche 6afe845edc Fix #231: Detect if version 4 of Bootstrap is being used 2015-03-01 19:22:41 -08:00
Heinrich Fenkart 28834c9e0a Don't warn for empty spacer when element is self closing
Fixes #184.
2015-02-24 06:14:46 +01:00
Phil Hughes 108297a62a Warn about lack of container inside navbar; fixes #167
Closes #198 by merging it
2015-02-22 16:44:57 -08:00
Chris Rebert 6d0ac89c35 Lint structure of Carousels; fixes #227 2015-02-22 15:33:15 -08:00
Chris Rebert 6324fa3b4f Complain about .modal.hide Bootstrap v2-ism; fixes #221 2015-02-20 19:54:09 -08:00
Chris Rebert bd83f574c8 Complain about .navbar-{left,right} outside of .navbar; fixes #223 2015-02-20 19:23:07 -08:00
Chris Rebert b004381e16 Complain about .media-left/right outside of .media; fixes #224 2015-02-20 12:40:44 -08:00
Chris Rebert d925566222 Merge pull request #220 from twbs/fix-72
Emit different warning message when jQuery & bootstrap.js both absent
2015-01-21 13:33:54 -08:00
Chris Rebert 7db0f5bde6 Bootstrap v3.3.2 test norm updates 2015-01-20 14:17:18 -08:00
Chris Rebert cff261c4ca Emit different warning message when jQuery and bootstrap.js are both absent; fixes #72 2015-01-18 22:58:11 -08:00
Phil Hughes d2eb84a0ad Warn about carousel controls/indicators with missing/wrong targets; fixes #199
Closes #203
2015-01-13 01:23:23 -08:00
Chris Rebert 1a37d8b4df add browser-only regression tests for #207 2014-12-19 13:30:03 -08:00
Chris Rebert 4ca3c1bba3 Merge pull request #194 from twbs/fix-163
warn about outdated versions of Bootstrap
2014-12-16 15:30:25 -08:00
Chris Rebert 34349e1076 warn about outdated versions of Bootstrap; fixes #163 2014-12-16 15:16:29 -08:00
Chris Rebert 0cf86db27e update ESLint config and update JS style accordingly 2014-12-15 15:51:29 -08:00
Chris Rebert 3d2fff470e Merge pull request #193 from twbs/fix-166
add linter for .col-*-0
2014-12-12 15:24:07 -08:00
Chris Rebert e6b51820fa Merge pull request #192 from twbs/fix-191
allow <script> as child of .row
2014-12-12 15:18:42 -08:00
Phil Hughes 3a3bcaa3dc Error for .modal in .navbar 2014-12-02 11:35:54 +00:00
Chris Rebert 0dea5ed51e add linter for .col-*-0 ; fixes #166 2014-11-23 00:52:59 -08:00
Chris Rebert 88e421e6d1 add test for #191 2014-11-22 19:07:17 -08:00
Heinrich Fenkart 6dd6777cf2 E034: Fix firing when `.close` button is not preceded by anything
Fixes #181.
2014-11-12 21:29:14 +01:00
Heinrich Fenkart d11341ce76 Follow-up to 79c72ef: Fix test failure and use slice instead of filter 2014-11-12 02:04:37 +01:00
Phil Hughes 79c72ef140 Warns about multiple buttons and dropdowns in `.input-group-btn`s
Fixes #49.
Closes #138 by merging a modified version of it.
2014-11-12 01:49:21 +01:00
Phil Hughes b52df1ac4c Fixes jQuery error when a plugin is on page
Closes #164 by merging it.
2014-11-11 17:52:15 +01:00
Heinrich Fenkart 3388e055a6 Remove stray swap files 2014-11-11 07:19:05 +01:00