Skip to content

Commit

Permalink
Replace node-sass compiler with Dart sass, upgrade nodejs in workflows (
Browse files Browse the repository at this point in the history
#689)

* Replace node-sass compiler with Dart sass, upgrade nodejs in workflows

* Linter: @wordpress/wp-global-usage replaces @wordpress/is-gutenberg-plugin
  • Loading branch information
albig committed Aug 6, 2024
1 parent 3b148a3 commit 55cd824
Show file tree
Hide file tree
Showing 7 changed files with 3,711 additions and 4,418 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
rules: {
'jest/expect-expect': 'off',
'react/jsx-boolean-value': 'error',
'@wordpress/is-gutenberg-plugin': 'error',
'@wordpress/wp-global-usage': 'error',
'@wordpress/react-no-unsafe-timeout': 'error',
'@wordpress/no-unsafe-wp-apis': 'off',
'@wordpress/data-no-store-string-literals': 'error',
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [published]

env:
NODE_VERSION: 20
NODE_VERSION: 22

jobs:
build-deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- main

env:
NODE_VERSION: 20
NODE_VERSION: 22

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"@wordpress/stylelint-config/scss"
],
"ignoreFiles": [
"sass/_normalize.scss"
"sass/_normalize.scss",
"style.css",
"style-rtl.css"
],
"rules": {
"indentation": 4,
Expand Down
Loading

0 comments on commit 55cd824

Please sign in to comment.