Skip to content

Commit a846721

Browse files
authored
chore(deps-dev): upgrading biome and our standards package (#1326)
## 🧰 Changes Upgrades Biome and our `@readme/standards` package in order to flip on following rules: * [x] https://biomejs.dev/linter/rules/no-console/ * [x] https://biomejs.dev/linter/rules/no-unused-variables/ * [x] https://biomejs.dev/linter/rules/use-import-extensions/ * Our preference continues to be that types be written as interfaces. All of these rules were/are a part of our ESLint config and just hadn't been ported into our Biome standards yet.
1 parent c385ae8 commit a846721

File tree

4 files changed

+43
-45
lines changed

4 files changed

+43
-45
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@
7979
"validator": "^13.7.0"
8080
},
8181
"devDependencies": {
82-
"@biomejs/biome": "^2.1.1",
82+
"@biomejs/biome": "^2.1.4",
8383
"@commitlint/cli": "^19.0.3",
8484
"@commitlint/config-conventional": "^19.0.3",
8585
"@oclif/test": "^4.1.0",
8686
"@readme/better-ajv-errors": "^2.3.2",
8787
"@readme/oas-examples": "^6.1.2",
88-
"@readme/standards": "^1.0.0",
88+
"@readme/standards": "^1.4.0",
8989
"@rollup/plugin-commonjs": "^28.0.0",
9090
"@rollup/plugin-json": "^6.0.0",
9191
"@rollup/plugin-node-resolve": "^16.0.0",

src/commands/openapi/inspect.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ export default class OpenAPIInspectCommand extends BaseCommand<typeof OpenAPIIns
239239
];
240240

241241
async run() {
242-
const { spec } = this.args;
243242
const { workingDirectory, feature: features } = this.flags;
244243

245244
const tableBorder = Object.entries(getBorderCharacters('norc'))

src/commands/openapi/resolve.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ export default class OpenAPIResolveCommand extends BaseCommand<typeof OpenAPIRes
345345
}
346346

347347
async run() {
348-
const { spec } = this.args;
349348
const { out, workingDirectory } = this.flags;
350349

351350
if (workingDirectory) {

0 commit comments

Comments
 (0)