Skip to content

Commit 2eec198

Browse files
authored
workspace: speed up lint slightly, update React and other dependencies (#4914)
1 parent 90a9572 commit 2eec198

File tree

6 files changed

+331
-148
lines changed

6 files changed

+331
-148
lines changed

.prettierrc.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"plugins": [
3+
"@prettier/plugin-oxc"
4+
],
25
"overrides": [
36
{
47
"files": ["*.js", "*.mjs", "*.cjs", "*.jsx", "*.ts", "*.tsx"],
@@ -26,14 +29,7 @@
2629
}
2730
},
2831
{
29-
"files": ["*.scss", "*.css"],
30-
"options": {
31-
"printWidth": 80,
32-
"endOfLine": "auto"
33-
}
34-
},
35-
{
36-
"files": ["*.yml"],
32+
"files": ["*.scss", "*.css", "*.yml"],
3733
"options": {
3834
"printWidth": 80,
3935
"endOfLine": "auto"

eslint.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default defineConfig([
2323
'**/.yarn',
2424
'**/node_modules',
2525
'packages/lint-examples/out',
26+
'plugins/remark-snackplayer/tests/(markdown|output)',
2627
'website/.docusaurus',
2728
'website/build',
2829
'website/static',
@@ -113,9 +114,9 @@ export default defineConfig([
113114
'warn',
114115
{
115116
ignore: [
116-
`CODE_OF_CONDUCT.md`,
117+
'CODE_OF_CONDUCT.md',
117118
// skip older blog posts
118-
`website/blog/201*`,
119+
'website/blog/201*',
119120
],
120121
alexOptions: {
121122
// use a "maybe" level of profanity instead of the default "unlikely"

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@eslint/css": "^0.14.1",
2929
"@eslint/js": "^9.39.1",
3030
"@manypkg/cli": "^0.25.1",
31-
"@typescript-eslint/parser": "^8.47.0",
31+
"@typescript-eslint/parser": "^8.48.1",
3232
"alex": "^11.0.1",
3333
"case-police": "^2.1.1",
3434
"eslint": "^9.39.1",
@@ -40,10 +40,10 @@
4040
"eslint-plugin-yml": "^1.19.0",
4141
"globals": "^16.5.0",
4242
"husky": "^9.1.7",
43-
"prettier": "^3.6.2",
43+
"prettier": "^3.7.4",
4444
"pretty-quick": "^4.2.2",
4545
"typescript": "^5.9.3",
46-
"typescript-eslint": "^8.47.0"
46+
"typescript-eslint": "^8.48.1"
4747
},
48-
"packageManager": "yarn@4.11.0"
48+
"packageManager": "yarn@4.12.0"
4949
}

packages/lint-examples/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
"@types/react": "^19.1.17",
2525
"eslint": "^9.39.1",
2626
"eslint-plugin-eslint-comments": "^3.2.0",
27-
"eslint-plugin-jest": "^29.2.0",
27+
"eslint-plugin-jest": "^29.2.1",
2828
"eslint-plugin-react": "^7.37.5",
2929
"glob": "^13.0.0",
30-
"prettier": "^3.6.2",
31-
"react": "^19.1.1",
30+
"prettier": "^3.7.4",
31+
"react": "^19.1.2",
3232
"react-native": "^0.82.1",
3333
"react-native-safe-area-context": "^5.6.2",
3434
"typescript": "^5.9.3"

website/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,22 @@
5151
"@docusaurus/plugin-pwa": "3.9.2",
5252
"@docusaurus/preset-classic": "3.9.2",
5353
"docusaurus-plugin-sass": "^0.2.6",
54-
"react": "^19.1.1",
55-
"react-dom": "^19.1.1",
54+
"react": "^19.1.2",
55+
"react-dom": "^19.1.2",
5656
"react-github-btn": "^1.4.0"
5757
},
5858
"devDependencies": {
5959
"@docusaurus/module-type-aliases": "3.9.2",
6060
"@docusaurus/tsconfig": "3.9.2",
6161
"@docusaurus/types": "3.9.2",
62+
"@prettier/plugin-oxc": "^0.1.3",
6263
"@react-native-website/lint-examples": "*",
6364
"@signalwire/docusaurus-plugin-llms-txt": "^1.2.2",
6465
"@types/google.analytics": "^0.0.46",
6566
"@types/react": "^19.1.17",
6667
"eslint": "^9.39.1",
6768
"glob": "^13.0.0",
68-
"prettier": "^3.6.2",
69+
"prettier": "^3.7.4",
6970
"remark-cli": "^12.0.1",
7071
"sass": "1.94.2",
7172
"typescript": "^5.9.3"

0 commit comments

Comments
 (0)