FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cli/.oxlintrc.json at develop · supabase/cli · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
supabase
/
cli
Public
Notifications
You must be signed in to change notification settings
Fork
516
Star
2.4k
Code
Issues
29
Pull requests
31
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
cli
/
.oxlintrc.json
Copy path
More file actions
More file actions
Latest commit
History
History
History
52 lines (52 loc) · 1.77 KB
Breadcrumbs
cli
/
.oxlintrc.json
Copy path
File metadata and controls
52 lines (52 loc) · 1.77 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"$schema"
:
"
./node_modules/oxlint/configuration_schema.json
"
,
"options"
: {
"typeAware"
:
true
,
"denyWarnings"
:
true
},
"ignorePatterns"
: [
"
.repos
"
,
"
apps/cli-go
"
,
"
apps/cli-e2e/fixtures
"
,
"
packages/stack
"
,
"
packages/process-compose
"
,
"
**/testdata
"
,
"
**/dist
"
,
"
**/coverage
"
,
"
**/.next
"
,
"
**/.source
"
],
"rules"
: {
//
Spreading an Effect Data.Class instance into its constructor is the
//
idiomatic copy-with-update pattern (`new State({ ...state, ... })`).
"typescript/no-misused-spread"
:
"
off
"
,
//
Effect combinators are passed as references by design, e.g.
//
`.pipe(semaphore.withPermit)`; they do not rely on `this`.
"typescript/unbound-method"
:
"
off
"
,
//
Too strict for CLI string building; `no-base-to-string` still guards
//
against `[object Object]` interpolation bugs.
"typescript/restrict-template-expressions"
:
"
off
"
},
"overrides"
: [
{
//
Legacy CLI is superseded by src/next; not worth the cleanup churn.
"files"
: [
"
apps/cli/src/legacy/**
"
],
"rules"
: {
"typescript/no-base-to-string"
:
"
off
"
}
},
{
//
`.github/scripts` is the only `bun:test` consumer in the repo (every
//
package test suite uses vitest). `@types/bun`'s test matcher types
//
reuse the same sync `Matchers<T>` interface for `expect(x).rejects`,
//
so `.rejects.toThrow(...)` types as returning `void` even though it
//
must be awaited at runtime — a `@types/bun` typing gap, not a real
//
`await`-of-non-Promise bug. Verified: `bun test` and `tsc --noEmit`
//
both pass; removing the `await` would make the assertion racy.
"files"
: [
"
.github/scripts/**
"
],
"rules"
: {
"typescript/await-thenable"
:
"
off
"
}
}
]
}
Back
|
FazBrowse Home
|
New Git URL