Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"useIgnoreFile": true
},
"files": {
"ignore": ["__testfixtures__", "tests"]
"includes": ["**", "!**/__testfixtures__", "!**/tests"]
},
"linter": {
"enabled": true,
Expand All @@ -18,12 +18,22 @@
},
"suspicious": {
"noExplicitAny": "off"
},
"style": {
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
Copy link
Member

@jonchurch jonchurch Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can drop these entirely

They're here bc biome dropped them from the recommended set of configs in v2

I don't think we care beyond using what their recommended set currently is, they dropped them for a reason

If you run the migrate command on biome latest, vs the 2.0.6 that the docs recommend, you dont even get this diff anymore

}
}
},
"organizeImports": {
"enabled": true
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"json": {
"parser": {
"allowComments": true
Expand Down
83 changes: 36 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@expressjs/codemod",
"private": "true",
"description": "Codemods for updating express servers.",
"contributors": ["Sebastian Beltran <bjohansebas@gmail.com>", "Filip Kudla <filip.kudla.dev@gmail.com>"],
"contributors": [
"Sebastian Beltran <bjohansebas@gmail.com>",
"Filip Kudla <filip.kudla.dev@gmail.com>"
],
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -12,16 +15,21 @@
"type": "opencollective",
"url": "https://opencollective.com/express"
},
"keywords": ["codemods", "express"],
"keywords": [
"codemods",
"express"
],
"scripts": {
"lint": "biome check",
"lint:fix": "biome check --fix",
"test": "npm run test --workspaces --if-present"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.3.13",
"@types/node": "^22.19.3",
"typescript": "5.9.3"
},
"workspaces": ["./codemods/*"]
"workspaces": [
"./codemods/*"
]
}