Skip to content

add biome rules

add biome rules #304

Triggered via pull request July 26, 2024 20:52
Status Success
Total duration 1m 39s
Artifacts

code-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 10 notices
lint/performance/noBarrelFile: src/pages/_app.tsx#L108
Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
lint/correctness/useExhaustiveDependencies: src/rewards/components/TokenReward.tsx#L41
This hook does not specify all of its dependencies: isFromGeogatedCountry
lint/correctness/useExhaustiveDependencies: src/rewards/components/SelectRoleOrSetRequirements.tsx#L66
This hook does not specify all of its dependencies: initNewRole
lint/performance/noBarrelFile: src/v2/components/Layout/index.ts#L1
Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
lint/performance/noBarrelFile: src/v2/components/Header/index.ts#L1
Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
lint/correctness/useExhaustiveDependencies: src/v2/components/ui/hooks/useToast.ts#L172
This hook specifies more dependencies than necessary: state
lint/correctness/useExhaustiveDependencies: src/pages/[guild]/members.tsx#L125
This hook does not specify all of its dependencies: replace
lint/performance/noBarrelFile: src/rewards/index.ts#L41
Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
type
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint/style/noDefaultExport: src/pages/_app.tsx#L109
Avoid default exports.