aboutsummaryrefslogtreecommitdiff
path: root/.stylelintrc
AgeCommit message (Collapse)AuthorFilesLines
2023-03-15Tweak stylelint config (#38228)XhmikosR1-40/+0
* rename to .stylelintrc.json * add reportInvalidScopeDisables to config * move reportNeedlessDisables to config * merge the two configs * remove unneeded disabled rules from the examples config
2022-12-24SCSS testing of the utilities API (#36029)Romaric Pascal1-1/+10
* Set up CSS testing using sass-true and mocha Use mocha to handle the heavy lifting of finding tests and running them. Mocha is made to look directly for SCSS files which are compiled thanks to Node's require.extensions mechanism. * Add CSS tests to workflow * Add tests for the generate-utility mixin * Add tests for utilities generation * Fix linting issues * Fix test contents Don't know why the whole utilities.test.scss ended up copied in the api.test.scss * Remove unnecessary entry in package.json * Move to Jasmine for running the tests * Move running of CSS tests before CSS build * Update linting set up Add exceptions for test files in stylelint * Remove irrelevant option for sass-true * Fix linting issues after rebase * Add color mode tests * Fix linter Co-authored-by: Mark Otto <[email protected]>
2022-05-24Bump stylelint-config-twbs-bootstrap from 3.0.1 to 3.1.0 (#36428)dependabot[bot]1-1/+0
* Bump stylelint-config-twbs-bootstrap from 3.0.1 to 3.1.0 Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 3.0.1 to 3.1.0. - [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases) - [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v3.0.1...v3.1.0) --- updated-dependencies: - dependency-name: stylelint-config-twbs-bootstrap dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update .stylelintrc Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2022-05-22Stylelint: Disable `custom-property-empty-line-before`Mark Otto1-0/+1
2021-12-14Update stylelint and stylelint-config-twbs-bootstrap (#35438)XhmikosR1-1/+1
2021-01-13Stylelint: disallow some property values (#32756)XhmikosR1-0/+4
* `border: none` * `outline: none`
2020-10-13Colors rewrite (#30622)Martijn Cuppens1-1/+3
2020-09-28Update stylelint to v13.7.2 (#31726)XhmikosR1-2/+2
2020-09-15Update Stylelint rulesXhmikosR1-2/+5
Enable `scss/selector-no-union-class-name`
2019-11-22Use double quotes in `.stylelintrc` (#29709)Martijn Cuppens1-2/+2
2019-10-31Update stylelint-config-twbs-bootstrap to 0.9.0 (#29612)Martijn Cuppens1-1/+7
* 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-31Add calc() to function blacklistMartijn Cuppens1-1/+2
2019-01-24Update devDependencies and gems. (#28094)XhmikosR1-1/+11
2019-01-10Update devDependencies. (#28016)XhmikosR1-1/+1
2019-01-05Switch to our Stylelint config. (#27974)XhmikosR1-325/+2
2018-12-23Blacklist border-radius property (use mixin instead) (#27900)Martijn Cuppens1-1/+8
2018-11-17Enforce lowercase class name in .stylelintrc (#27668)Christian Oliff1-0/+1
2018-10-21Disallow transition property (use mixin instead)Martijn Cuppens1-0/+1
2018-10-15Tighten stylelint config. (#27336)XhmikosR1-8/+50
Also improve its formatting.
2018-07-24add 'lighter' and 'bolder' font weight classes (#26580)Andrew1-1/+4
* 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-04-10Fix incorrect value of Stylelint option (#26192)ruedap1-3/+1
2018-03-20Making use of `prefers-reduced-motion` media query (#25641)Mike Rogers1-0/+3
* 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-02-11Update stylelint config to add missing properties (#25572)in-in1-3/+28
* 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-07Enable `scss/dollar-variable-default` rule (#25542)freezy1-0/+1
This checks if all variables are `!default`.
2018-01-11Clean up and tweak ESLint rules.XhmikosR1-0/+247
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.