-
Notifications
You must be signed in to change notification settings - Fork 48
chore(biome): incorporating our new common biome config #1307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
523464b
7f4f575
b4d72c5
cdf8679
5dfb213
1e048e3
b909f64
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,4 +55,4 @@ async function refreshSchemas() { | |
| } | ||
| } | ||
|
|
||
| refreshSchemas(); | ||
| await refreshSchemas(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,4 +89,4 @@ async function setMajorVersionTag() { | |
| } | ||
| } | ||
|
|
||
| setMajorVersionTag(); | ||
| await setMajorVersionTag(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| { | ||
| "$schema": "https://biomejs.dev/schemas/2.1.1/schema.json", | ||
| "root": true, | ||
| "extends": ["@readme/standards/biome"], | ||
| "vcs": { | ||
erunion marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "enabled": false, | ||
| "clientKind": "git", | ||
|
|
@@ -22,19 +23,14 @@ | |
| "enabled": false, | ||
| }, | ||
| "linter": { | ||
| "enabled": true, | ||
| "domains": { | ||
| // These domains are configured in our core standards package but Biome `extends` seems to | ||
| // not load it in so we have to redefine them. | ||
|
Comment on lines
17
to
+19
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing this $ npx biome check
bin/set-version-output.js:6:1 suppressions/unused ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Suppression comment has no effect. Remove the suppression or make sure you are suppressing the correct rule.
4 │ import * as core from '@actions/core';
5 │
> 6 │ // biome-ignore lint/correctness/useImportExtensions: This file exists but Biome wants to use the `.d.ts` file instead.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 │ import { getMajorPkgVersion, getNodeVersion } from '../dist/lib/getPkg.js';
8 │
Checked 92 files in 47ms. No fixes applied.
Found 1 warning.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks i hate it |
||
| "project": "all", | ||
| "test": "all", | ||
| }, | ||
| "rules": { | ||
| "recommended": true, | ||
| "correctness": { | ||
| // Don't warn about unused function parameters or recommend they're prefixed with an `_`. | ||
| "noUnusedFunctionParameters": "off", | ||
| }, | ||
| "style": { | ||
| "noParameterAssign": "error", | ||
| "noRestrictedImports": { | ||
| "level": "error", | ||
| "options": { | ||
|
|
@@ -64,26 +60,4 @@ | |
| }, | ||
| }, | ||
| }, | ||
| "assist": { | ||
| "enabled": true, | ||
| "actions": { | ||
| "source": { | ||
| "organizeImports": { | ||
| "level": "on", | ||
| "options": { | ||
| // Import order: `type` -> Node builtins -> URL -> Package -> Local paths | ||
| "groups": [ | ||
| { "type": true }, | ||
| ":BLANK_LINE:", // We add blank lines between the groups to improve readability. | ||
| { "source": [":BUN:", ":NODE:"] }, | ||
| ":BLANK_LINE:", | ||
| { "source": [":URL", ":PACKAGE:", ":PACKAGE_WITH_PROTOCOL:"] }, | ||
| ":BLANK_LINE:", | ||
| ":PATH:", | ||
| ], | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.