Skip to content

Commit 90a71f5

Browse files
chore: upgrade Biome to v2.3.11 Closes #111 (#118)
* biome-version2 update * chore: upgrade biome to v2 * work in progress * Delete codemods/back-redirect-deprecated/tests/input/location.ts closes #117 Signed-off-by: Ayush Saha <ayushsaha.work@gmail.com> * Revert "work in progress" This reverts commit 761e5ee. * refactor: simplify linter configuration in biome.json --------- Signed-off-by: Ayush Saha <ayushsaha.work@gmail.com> Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
1 parent 46ce85f commit 90a71f5

3 files changed

Lines changed: 54 additions & 52 deletions

File tree

biome.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,18 @@
66
"useIgnoreFile": true
77
},
88
"files": {
9-
"ignore": ["__testfixtures__", "tests"]
9+
"includes": ["**", "!**/__testfixtures__", "!**/tests"]
1010
},
1111
"linter": {
1212
"enabled": true,
1313
"rules": {
1414
"recommended": true,
1515
"correctness": {
16-
"noUnusedImports": "error",
17-
"useExhaustiveDependencies": "off"
18-
},
19-
"suspicious": {
20-
"noExplicitAny": "off"
16+
"noUnusedImports": "error"
2117
}
2218
}
2319
},
24-
"organizeImports": {
25-
"enabled": true
26-
},
20+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
2721
"json": {
2822
"parser": {
2923
"allowComments": true

package-lock.json

Lines changed: 39 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"name": "@expressjs/codemod",
33
"private": "true",
44
"description": "Codemods for updating express servers.",
5-
"contributors": ["Sebastian Beltran <bjohansebas@gmail.com>", "Filip Kudla <filip.kudla.dev@gmail.com>"],
5+
"contributors": [
6+
"Sebastian Beltran <bjohansebas@gmail.com>",
7+
"Filip Kudla <filip.kudla.dev@gmail.com>"
8+
],
69
"license": "MIT",
710
"repository": {
811
"type": "git",
@@ -12,16 +15,21 @@
1215
"type": "opencollective",
1316
"url": "https://opencollective.com/express"
1417
},
15-
"keywords": ["codemods", "express"],
18+
"keywords": [
19+
"codemods",
20+
"express"
21+
],
1622
"scripts": {
1723
"lint": "biome check",
1824
"lint:fix": "biome check --fix",
1925
"test": "npm run test --workspaces --if-present"
2026
},
2127
"devDependencies": {
22-
"@biomejs/biome": "1.9.4",
28+
"@biomejs/biome": "^2.3.11",
2329
"@types/node": "^22.19.3",
2430
"typescript": "5.9.3"
2531
},
26-
"workspaces": ["./codemods/*"]
32+
"workspaces": [
33+
"./codemods/*"
34+
]
2735
}

0 commit comments

Comments
 (0)