Skip to content

Commit 4a39bd2

Browse files
authored
Update some npm dependencies (#14451)
* De-dupe `flagged` * Update `html-webpack-plugin` * Update `js-yaml` * Update `cssnano` * Update `prettier` * Fix prettier config * Run formatting script * Update `oxlint` and `eslint-plugin-oxlint` * Update oxlint config * Format JS files * Update `@types/react`
1 parent ae68831 commit 4a39bd2

File tree

65 files changed

+685
-886
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+685
-886
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Create a report to help us improve.
44
title: ''
55
labels: 'Type: Bug'
66
assignees: ''
7-
87
---
98

109
<!--

.github/ISSUE_TEMPLATE/enhancement.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Suggest an idea for this project.
44
title: ''
55
labels: 'Type: Enhancement'
66
assignees: ''
7-
87
---
98

109
<!-- NOTE: For help requests, support questions, or general feedback, please use the WordPress.org forums instead: https://wordpress.org/support/plugin/web-stories/ -->

.github/ISSUE_TEMPLATE/task.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Tasks which do not involve engineering.
44
title: ''
55
labels: 'Type: Task'
66
assignees: ''
7-
87
---
98

109
<!-- NOTE: For help requests, support questions, or general feedback, please use the WordPress.org forums instead: https://wordpress.org/support/plugin/web-stories/ -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<!-- A brief description of what this PR does. -->
44

5-
65
## User-facing changes
76

87
<!--
@@ -19,14 +18,14 @@ Write step-by-step test instructions aimed at non-tech-savvy users, even if the
1918
-->
2019

2120
<!-- ignore-task-list-start -->
21+
2222
- [ ] This is a non-user-facing change and requires no QA
2323
<!-- ignore-task-list-end -->
2424

2525
This PR can be tested by following these steps:
2626

2727
1.
2828

29-
3029
## Reviews
3130

3231
### Does this PR have a security-related impact?

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ updates:
4141
- 'babel-plugin-react-compiler'
4242
oxlint:
4343
patterns:
44-
- 'oxlint'
45-
- 'eslint-plugin-oxlint'
44+
- 'oxlint'
45+
- 'eslint-plugin-oxlint'
4646
react-compiler:
4747
patterns:
48-
- '*-react-compiler'
49-
- 'react-compiler-*'
48+
- '*-react-compiler'
49+
- 'react-compiler-*'
5050
ignore:
5151
# styled-components is not yet compatible.
5252
- dependency-name: 'stylis-plugin-rtl'
@@ -83,12 +83,12 @@ updates:
8383
# Needs manual update
8484
- dependency-name: 'styled-components'
8585
versions:
86-
- '>= 6'
86+
- '>= 6'
8787

8888
# Needs manual update
8989
- dependency-name: 'eslint'
9090
versions:
91-
- '>= 9'
91+
- '>= 9'
9292

9393
- package-ecosystem: composer
9494
directory: '/'

.oxlintrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
}
2727
},
2828
"rules": {
29+
"accessor-pairs": "off",
2930
"class-methods-use-this": "off",
31+
"complexity": "off",
3032
"default-case": "off",
3133
"max-classes-per-file": "off",
3234
"max-depth": "off",
@@ -37,14 +39,18 @@
3739
"no-case-declarations": "off",
3840
"no-else-return": "off",
3941
"no-empty-function": "off",
42+
"no-inline-comments": "off",
4043
"no-multiple-resolved": "off",
4144
"no-negated-condition": "off",
4245
"no-param-reassign": "off",
4346
"no-plusplus": "off",
47+
"no-promise-executor-return": "off",
48+
"no-shadow": "off",
4449
"no-undef": "off",
4550
"no-undefined": "off",
4651
"no-unused-expressions": "off",
4752
"no-unused-vars": "off",
53+
"no-useless-return": "off",
4854
"no-void": ["error", { "allowAsStatement": true }],
4955
"no-warning-comments": "off",
5056
"radix": "off",
@@ -59,6 +65,7 @@
5965
"import/no-default-export": "off",
6066
"import/no-named-as-default": "off",
6167
"import/no-named-as-default-member": "off",
68+
"import/no-relative-parent-imports": "off",
6269
"import/no-unassigned-import": "off",
6370
"import/unambiguous": "off",
6471
"jest/no-conditional-in-test": "off",

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"plugins": ["@prettier/plugin-xml"],
23
"printWidth": 80,
34
"singleQuote": true,
45
"trailingComma": "es5",

.wordpress-org/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# WordPress.org assets
22

3-
These assets are used in the WordPress.org plugin directory. They will need to be synced with the plugin SVN repository whenever they change.
3+
These assets are used in the WordPress.org plugin directory. They will need to be synced with the plugin SVN repository whenever they change.

0 commit comments

Comments
 (0)