Skip to content

Commit

Permalink
Bump stylelint to 15.10.2 and remove deprecated module (#1189)
Browse files Browse the repository at this point in the history
- Bump stylelint and stylelint-config-standard libs to the latest versions (security fixes)
- Remove deprecated stylelint-config-prettier module
- Scan the classic style sheet with stylelint and prettier in the github workflow
- Address stylelint and prettier issues in the classic stylesheet
- Bump prettier to 3.0.0
  • Loading branch information
rdmark authored Jul 29, 2023
1 parent 34478d1 commit d3317e9
Show file tree
Hide file tree
Showing 5 changed files with 399 additions and 1,762 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,12 @@ jobs:
id: npm

- name: Stylelint
run: npx stylelint src/static/themes/modern/style.css
run: |
npx stylelint src/static/themes/modern/style.css
npx stylelint src/static/themes/classic/style.css
- name: Prettier
run: npx prettier --check src/static/themes/modern/style.css
run: |
npx prettier --check src/static/themes/modern/style.css
npx prettier --check src/static/themes/classic/style.css
if: success() || failure() && steps.npm.outcome == 'success'
7 changes: 4 additions & 3 deletions python/web/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"extends": ["stylelint-config-standard"],
"rules": {
"no-descending-specificity": null
"no-descending-specificity": null,
"media-feature-range-notation": "prefix"
}
}
}
Loading

0 comments on commit d3317e9

Please sign in to comment.