Skip to content

Commit d049972

Browse files
committed
Add explicit support for Sass
1 parent 32c11ab commit d049972

File tree

5 files changed

+37
-0
lines changed

5 files changed

+37
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66

77
## Unreleased
88

9+
## [2.0.1](https://github.com/torchbox/stylelint-config-torchbox/compare/v2.0.0...v2.0.1) (2023-08-17)
10+
11+
### Bug fixes
12+
13+
- Add explicit support for Sass/SCSS syntax
14+
915
## [2.0.0](https://github.com/torchbox/stylelint-config-torchbox/compare/v1.1.1...v2.0.0) (2023-08-17)
1016

1117
### Features

config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
'use strict';
22

3+
const postcssScss = require('postcss-scss');
4+
35
// See https://stylelint.io/user-guide/rules/.
46
module.exports = {
57
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
8+
customSyntax: postcssScss,
69
plugins: [
710
'stylelint-scss',
811
'stylelint-order',

package-lock.json

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"stylelint-find-new-rules": "4.1.0"
3535
},
3636
"dependencies": {
37+
"postcss-scss": "^4.0.7",
3738
"stylelint-config-prettier": "^9.0.3",
3839
"stylelint-config-standard": "^24.0.0",
3940
"stylelint-declaration-strict-value": "^1.8.0",

src/semver.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ describe('semver - should those tests break, consider releasing a new major vers
77
it('dependencies', () => {
88
expect(pkg.dependencies).toMatchInlineSnapshot(`
99
{
10+
"postcss-scss": "^4.0.7",
1011
"stylelint-config-prettier": "^9.0.3",
1112
"stylelint-config-standard": "^24.0.0",
1213
"stylelint-declaration-strict-value": "^1.8.0",

0 commit comments

Comments
 (0)