0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
XhmikosR
4d6dd31379 Update Stylelint rules
Enable `scss/selector-no-union-class-name`
2020-09-15 11:57:36 +03:00
Martijn Cuppens
a65d066530 Use double quotes in .stylelintrc (#29709) 2019-11-22 11:00:25 +02:00
Martijn Cuppens
f2483febb6 Update stylelint-config-twbs-bootstrap to 0.9.0 (#29612)
* Update stylelint-config-twbs-bootstrap to 0.9.0

* Add `scss/dollar-variable-default` rule

This rule was removed from `stylelint-config-twbs-bootstrap` (https://github.com/twbs/stylelint-config-twbs-bootstrap/pull/27) in favour to add it here.
2019-10-31 10:56:10 +02:00
Martijn Cuppens
ca9731692e Add calc() to function blacklist 2019-10-31 08:30:53 +02:00
XhmikosR
3723613875
Update devDependencies and gems. (#28094) 2019-01-24 21:25:49 +02:00
XhmikosR
746a057f0c
Update devDependencies. (#28016) 2019-01-10 15:56:54 +02:00
XhmikosR
d1067d7c35
Switch to our Stylelint config. (#27974) 2019-01-05 20:59:44 +02:00
Martijn Cuppens
39b14c9806 Blacklist border-radius property (use mixin instead) (#27900) 2018-12-23 09:11:11 +02:00
Christian Oliff
4734a926e9 Enforce lowercase class name in .stylelintrc (#27668) 2018-11-17 14:01:16 +02:00
Martijn Cuppens
00860f02d4 Disallow transition property (use mixin instead) 2018-10-21 22:46:20 +03:00
XhmikosR
7d6a0aa24d
Tighten stylelint config. (#27336)
Also improve its formatting.
2018-10-15 12:24:53 +03:00
Andrew
c8a4d9dd74 add 'lighter' and 'bolder' font weight classes (#26580)
* add 'lighter' and 'bolder' font weight classes

these are 2 special values for font weight, that will give their content a font-weight value of 100 more or less than their inherited font-weight.

probably doesn't fully fulfill this issue, https://github.com/twbs/bootstrap/issues/23969, but it's a start

* Update .stylelintrc

* add 'lighter' and 'bolder' variables per @mdo 's request.
2018-07-24 17:23:17 -07:00
ruedap
ee1a22812b Fix incorrect value of Stylelint option (#26192) 2018-04-10 15:40:01 +03:00
Mike Rogers
2306f62bf1 Making use of prefers-reduced-motion media query (#25641)
* Making use of `prefers-reduced-motion` media query

As discussed in #25249 - if a user (Who is using Safari / iOS) requests
reduced motion in their system settings, we should avoid transitions.

* Ignoring prefers reduced motion for CSS Linting
* Updating copy clarifying the reduce motion functionality in accessibility.md
2018-03-20 09:28:21 +00:00
in-in
ba878eb542 Update stylelint config to add missing properties (#25572)
* add missing properties

list of new properties:
align-content
animation-fill-mode
appearance
column-count
column-fill
column-gap
column-rule
column-rule-color
column-rule-style
column-rule-width
column-span
column-width
columns
direction
fill
flex-shrink
orphans
page-break-after
page-break-before
page-break-inside
perspective
src
stroke
unicode-bidi
widows

* fix invalid JSON config

add curly brackets

* Update .stylelintrc
2018-02-11 15:16:22 -08:00
freezy
2dc9c76d75 Enable scss/dollar-variable-default rule (#25542)
This checks if all variables are `!default`.
2018-02-07 15:28:35 +02:00
XhmikosR
6d336502c7 Clean up and tweak ESLint rules.
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
2018-01-11 18:48:46 +02:00