-
Notifications
You must be signed in to change notification settings - Fork 7
Preview/oxlint #26
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
Preview/oxlint #26
Changes from 5 commits
14e89ad
6949947
ea98f47
f25aa13
500f9ce
b5e74a0
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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| reviews: | ||
| tools: | ||
| # oxlint does not run if biome is enabled | ||
| biome: | ||
| enabled: false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "rules": { | ||
| "typescript": "error", | ||
| "correctness": "error", | ||
| "suspicious": "error", | ||
| "perf": "warn", | ||
| "style": "warn" | ||
| }, | ||
| "env": { | ||
| "browser": true, | ||
| "es2021": true, | ||
| "node": true | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| function greet(name: string) { | ||
| console.log("Hello, " + name) | ||
| } | ||
|
|
||
| let unused = 123 | ||
|
|
||
| const x = 1 | ||
| x = 2 | ||
|
|
||
| const items = [1, 2, 3] | ||
| items.forEach(async item => { | ||
| await fetch(`/api/${item}`) | ||
| }) | ||
|
||
|
|
||
| greet("world") | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.