stylelint-config-twbs-bootstrap
Advanced tools
Comparing version 8.0.0 to 9.0.0
37
index.js
@@ -6,3 +6,4 @@ 'use strict'; | ||
'stylelint-config-standard', | ||
'stylelint-config-recess-order' | ||
'stylelint-config-recess-order', | ||
'stylelint-stylistic/config' | ||
], | ||
@@ -12,7 +13,2 @@ 'rules': { | ||
'at-rule-empty-line-before': null, | ||
'at-rule-name-space-after': 'always', | ||
'at-rule-semicolon-space-before': 'never', | ||
'block-closing-brace-empty-line-before': null, | ||
'block-closing-brace-newline-after': null, | ||
'block-opening-brace-space-before': null, | ||
'color-function-notation': null, | ||
@@ -23,3 +19,2 @@ 'color-named': 'never', | ||
'declaration-block-no-redundant-longhand-properties': null, | ||
'declaration-block-semicolon-newline-before': 'never-multi-line', | ||
'declaration-empty-line-before': null, | ||
@@ -36,11 +31,6 @@ 'declaration-no-important': true, | ||
'function-url-no-scheme-relative': true, | ||
'max-empty-lines': 2, | ||
'max-line-length': null, | ||
'media-feature-range-notation': null, | ||
'no-descending-specificity': null, | ||
'number-leading-zero': 'never', | ||
'number-max-precision': null, | ||
'rule-empty-line-before': null, | ||
'selector-list-comma-newline-before': 'never-multi-line', | ||
'selector-list-comma-space-after': 'always-single-line', | ||
'selector-list-comma-space-before': 'never-single-line', | ||
'selector-max-attribute': 2, | ||
@@ -56,6 +46,18 @@ 'selector-max-class': 4, | ||
'selector-not-notation': null, // TODO enable this later | ||
'unicode-bom': 'never', | ||
'value-list-comma-newline-after': 'never-multi-line', | ||
'value-list-comma-newline-before': 'never-multi-line', | ||
'value-list-comma-space-after': 'always' | ||
'stylistic/at-rule-name-space-after': 'always', | ||
'stylistic/at-rule-semicolon-space-before': 'never', | ||
'stylistic/block-closing-brace-empty-line-before': null, | ||
'stylistic/block-closing-brace-newline-after': null, | ||
'stylistic/block-opening-brace-space-before': null, | ||
'stylistic/declaration-block-semicolon-newline-before': 'never-multi-line', | ||
'stylistic/max-empty-lines': 2, | ||
'stylistic/max-line-length': null, | ||
'stylistic/number-leading-zero': 'never', | ||
'stylistic/selector-list-comma-newline-before': 'never-multi-line', | ||
'stylistic/selector-list-comma-space-after': 'always-single-line', | ||
'stylistic/selector-list-comma-space-before': 'never-single-line', | ||
'stylistic/unicode-bom': 'never', | ||
'stylistic/value-list-comma-newline-after': 'never-multi-line', | ||
'stylistic/value-list-comma-newline-before': 'never-multi-line', | ||
'stylistic/value-list-comma-space-after': 'always' | ||
}, | ||
@@ -70,3 +72,2 @@ 'overrides': [ | ||
'rules': { | ||
'annotation-no-unknown': null, | ||
'no-invalid-position-at-import-rule': null, | ||
@@ -73,0 +74,0 @@ 'scss/at-extend-no-missing-placeholder': null, |
{ | ||
"name": "stylelint-config-twbs-bootstrap", | ||
"version": "8.0.0", | ||
"description": "Default stylelint config used by Bootstrap.", | ||
"version": "9.0.0", | ||
"description": "An opinionated Stylelint config used by Bootstrap accross our projects.", | ||
"main": "index.js", | ||
@@ -23,2 +23,12 @@ "repository": { | ||
"homepage": "https://github.com/twbs/stylelint-config-twbs-bootstrap#readme", | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/twbs" | ||
}, | ||
{ | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/bootstrap" | ||
} | ||
], | ||
"files": [ | ||
@@ -31,20 +41,21 @@ "index.js" | ||
"peerDependencies": { | ||
"stylelint": "^15.0.0" | ||
"stylelint": "^15.4.0" | ||
}, | ||
"dependencies": { | ||
"stylelint-config-recess-order": "^4.0.0", | ||
"stylelint-config-standard": "^30.0.1", | ||
"stylelint-config-standard-scss": "^7.0.1", | ||
"stylelint-scss": "^4.4.0" | ||
"stylelint-config-standard": "^32.0.0", | ||
"stylelint-config-standard-scss": "^8.0.0", | ||
"stylelint-scss": "^4.6.0", | ||
"stylelint-stylistic": "^0.4.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.36.0", | ||
"stylelint": "^15.2.0" | ||
"eslint": "^8.38.0", | ||
"stylelint": "^15.4.0" | ||
}, | ||
"scripts": { | ||
"lint": "eslint --ignore-path .gitignore .", | ||
"clone-repo": "git clone https://github.com/twbs/bootstrap.git --branch main --depth 1 bootstrap && git clone https://github.com/twbs/bootstrap.git --branch v4-dev --depth 1 bootstrap-4", | ||
"clone-repo": "git clone https://github.com/twbs/bootstrap.git --branch main --depth 1 bootstrap", | ||
"test": "npm run lint", | ||
"test-ci": "stylelint \"(bootstrap|bootstrap-4)/scss/**/*.scss\" --config index.js --ignore-pattern \"**/vendor/\" --ignore-pattern \"**/tests/\" --formatter verbose" | ||
"test-ci": "stylelint \"bootstrap/scss/**/*.scss\" --config index.js --ignore-pattern \"**/vendor/\" --ignore-pattern \"**/tests/\" --formatter verbose" | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
# stylelint-config-twbs-bootstrap [![npm version](https://img.shields.io/npm/v/stylelint-config-twbs-bootstrap)](https://www.npmjs.com/package/stylelint-config-twbs-bootstrap) [![Build Status](https://img.shields.io/github/actions/workflow/status/twbs/stylelint-config-twbs-bootstrap/test.yml?branch=main&label=Tests&logo=github)](https://github.com/twbs/stylelint-config-twbs-bootstrap/actions?query=workflow%3ATests+branch%3Amain) | ||
# stylelint-config-twbs-bootstrap [![npm version](https://img.shields.io/npm/v/stylelint-config-twbs-bootstrap?logo=npm&logoColor=fff)](https://www.npmjs.com/package/stylelint-config-twbs-bootstrap) [![CI Status](https://img.shields.io/github/actions/workflow/status/twbs/stylelint-config-twbs-bootstrap/test.yml?branch=main&label=CI&logo=github)](https://github.com/twbs/stylelint-config-twbs-bootstrap/actions/workflows/test.yml?query=workflow%3ATests+branch%3Amain) | ||
Default stylelint config used by Bootstrap. | ||
> An opinionated Stylelint config used by Bootstrap accross our projects. | ||
@@ -15,4 +15,6 @@ ## Installation | ||
We provide a single config that covers both CSS and SCSS. It will automatically apply SCSS rules to files ending in `.scss`. You simply have to extend this config: | ||
We provide a single config that covers both CSS and SCSS. It will automatically apply SCSS rules to files ending in `.scss`. | ||
You simply have to extend this config in your Stylelint config: | ||
```json | ||
@@ -23,1 +25,7 @@ { | ||
``` | ||
To see the included rules, please check [index.js](index.js). | ||
## License | ||
Released under the [MIT License](LICENSE). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7378
89
30
6
+ Addedstylelint-stylistic@^0.4.0
+ Addedstylelint-config-recommended@11.0.0(transitive)
+ Addedstylelint-config-recommended-scss@10.0.0(transitive)
+ Addedstylelint-config-standard@32.0.0(transitive)
+ Addedstylelint-config-standard-scss@8.0.0(transitive)
+ Addedstylelint-stylistic@0.4.5(transitive)
- Removedstylelint-config-recommended@10.0.1(transitive)
- Removedstylelint-config-recommended-scss@9.0.1(transitive)
- Removedstylelint-config-standard@30.0.1(transitive)
- Removedstylelint-config-standard-scss@7.0.1(transitive)
Updatedstylelint-scss@^4.6.0