Skip to content

Commit 30990ac

Browse files
Stylelint updates (#1479)
* build(deps-dev): bump stylelint from 16.9.0 to 16.10.0 Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.9.0 to 16.10.0. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint@16.9.0...16.10.0) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Remove deprecated stylelint-config-prettier from .stylelintrc.json * Replace stylelint-config-sass-guidelines with stylelint-config-standard-scss * Fix stylelint warnings * Create dependabot stylelint group * Add .scss files to pre-commit checks --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent f26a7e6 commit 30990ac

File tree

36 files changed

+444
-444
lines changed

36 files changed

+444
-444
lines changed

.github/dependabot.yml

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ updates:
1313
ag-grid:
1414
patterns:
1515
- "ag-grid-*"
16+
stylelint:
17+
patterns:
18+
- "stylelint*"
1619

1720
- package-ecosystem: "github-actions"
1821
directory: "/"

.pnp.cjs

+208-163
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.stylelintrc.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
2-
"extends": ["stylelint-config-sass-guidelines", "stylelint-config-prettier"],
2+
"extends": ["stylelint-config-standard-scss"],
33
"rules": {
4+
"no-descending-specificity": null,
45
"selector-class-pattern": null,
6+
"selector-id-pattern": null,
57
"selector-max-compound-selectors": 3,
68
"selector-max-id": 2,
79
"selector-no-qualifying-type": null
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
- Improved general testing infrastructure
3434
- Added test cases for the index function in `Controllers/Course`
3535
- Refactored the class components in `/grid` folder to function components
36+
- Update stylelint integration with development environment and fix existing stylelint violations
3637

3738
## [0.6.0] - 2024-06-24
3839

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"*": "yarn prettier --ignore-unknown --write",
1919
"*.js": "yarn run eslint --cache --fix --ignore-path .prettierignore js",
2020
"*.css": "yarn run stylelint --fix",
21+
"*.scss": "yarn run stylelint --fix",
2122
"*.hs": "stack exec hlint"
2223
},
2324
"dependencies": {
@@ -67,8 +68,8 @@
6768
"sass": "^1.78.0",
6869
"sass-loader": "^13.3.2",
6970
"style-loader": "^4.0.0",
70-
"stylelint": "^16.9.0",
71-
"stylelint-config-sass-guidelines": "^12.0.0",
71+
"stylelint": "^16.10.0",
72+
"stylelint-config-standard-scss": "^13.1.0",
7273
"webpack": "^5.95.0",
7374
"webpack-cli": "^5.1.4",
7475
"webpack-dev-server": "^5.1.0",

0 commit comments

Comments
 (0)