Schema #30
Annotations
10 errors and 1 warning
πΆ reviewdog with Biome:
src/index.ts#L1
[Biome] reported by reviewdog πΆ
! Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
```
> 1 β export * from './resume-schema/index.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 β export * from './schema-primitive/index.js'
3 β
```
i Check this thorough explanation to better understand the context.
Raw Output:
./src/index.ts:1:1 lint/performance/noBarrelFile βββββββββββββββββββββββββββββββββββββββββββββββββββ
! Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
```
> 1 β export * from './resume-schema/index.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 β export * from './schema-primitive/index.js'
3 β
```
i Check this thorough explanation to better understand the context.
|
πΆ reviewdog with Biome:
src/index.ts#L1
[Biome] reported by reviewdog πΆ
! Do not use export all ( export * from ... ).
```
> 1 β export * from './resume-schema/index.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 β export * from './schema-primitive/index.js'
3 β
```
i Use named export instead.
Raw Output:
./src/index.ts:1:8 lint/performance/noReExportAll ββββββββββββββββββββββββββββββββββββββββββββββββββ
! Do not use export all ( export * from ... ).
```
> 1 β export * from './resume-schema/index.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 β export * from './schema-primitive/index.js'
3 β
```
i Use named export instead.
|
πΆ reviewdog with Biome:
src/index.ts#L2
[Biome] reported by reviewdog πΆ
! Do not use export all ( export * from ... ).
```
1 β export * from './resume-schema/index.js'
> 2 β export * from './schema-primitive/index.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 β
```
i Use named export instead.
Raw Output:
./src/index.ts:2:8 lint/performance/noReExportAll ββββββββββββββββββββββββββββββββββββββββββββββββββ
! Do not use export all ( export * from ... ).
```
1 β export * from './resume-schema/index.js'
> 2 β export * from './schema-primitive/index.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 β
```
i Use named export instead.
|
πΆ reviewdog with Biome:
src/test/integration-test.spec.ts#L1
[Biome] reported by reviewdog πΆ
! Using Node.js modules is forbidden.
```
> 1 β import * as fs from 'node:fs/promises'
β ^^^^^^^^^^^^^^^^^^
2 β import * as S from '@effect/schema/Schema'
3 β import * as yaml from '@std/yaml'
```
i Can be useful for client-side web projects that do not have access to those modules.
i Remove the import module.
Raw Output:
./src/test/integration-test.spec.ts:1:21 lint/nursery/noNodejsModules ββββββββββββββββββββββββββββββ
! Using Node.js modules is forbidden.
```
> 1 β import * as fs from 'node:fs/promises'
β ^^^^^^^^^^^^^^^^^^
2 β import * as S from '@effect/schema/Schema'
3 β import * as yaml from '@std/yaml'
```
i Can be useful for client-side web projects that do not have access to those modules.
i Remove the import module.
|
πΆ reviewdog with Biome:
src/resume-schema/reference/reference.spec.ts#L1
[Biome] reported by reviewdog πΆ
! This import namespace name should be in camelCase or PascalCase.
```
> 1 β import * as JSONSchema from '@effect/schema/JSONSchema'
β ^^^^^^^^^^
2 β import * as S from '@effect/schema/Schema'
3 β import { describe, expect, test } from 'vitest'
```
i The name could be renamed to `jsonSchema`.
Raw Output:
./src/resume-schema/reference/reference.spec.ts:1:13 lint/style/useNamingConvention ββββββββββββββββ
! This import namespace name should be in camelCase or PascalCase.
```
> 1 β import * as JSONSchema from '@effect/schema/JSONSchema'
β ^^^^^^^^^^
2 β import * as S from '@effect/schema/Schema'
3 β import { describe, expect, test } from 'vitest'
```
i The name could be renamed to `jsonSchema`.
|
πΆ reviewdog with Biome:
src/test/timezone.spec.ts#L1
[Biome] reported by reviewdog πΆ
! Using Node.js modules is forbidden.
```
> 1 β import process from 'node:process'
β ^^^^^^^^^^^^^^
2 β import { describe, it } from 'vitest'
3 β
```
i Can be useful for client-side web projects that do not have access to those modules.
i Remove the import module.
Raw Output:
./src/test/timezone.spec.ts:1:21 lint/nursery/noNodejsModules ββββββββββββββββββββββββββββββββββββββ
! Using Node.js modules is forbidden.
```
> 1 β import process from 'node:process'
β ^^^^^^^^^^^^^^
2 β import { describe, it } from 'vitest'
3 β
```
i Can be useful for client-side web projects that do not have access to those modules.
i Remove the import module.
|
πΆ reviewdog with Biome:
src/resume-schema/index.ts#L1
[Biome] reported by reviewdog πΆ
! Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
```
> 1 β export * from './award/award.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 β export * from './basics/basics.js'
3 β export * from './certificates/certificates.js'
```
i Check this thorough explanation to better understand the context.
Raw Output:
./src/resume-schema/index.ts:1:1 lint/performance/noBarrelFile βββββββββββββββββββββββββββββββββββββ
! Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused.
```
> 1 β export * from './award/award.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 β export * from './basics/basics.js'
3 β export * from './certificates/certificates.js'
```
i Check this thorough explanation to better understand the context.
|
πΆ reviewdog with Biome:
src/resume-schema/index.ts#L1
[Biome] reported by reviewdog πΆ
! Do not use export all ( export * from ... ).
```
> 1 β export * from './award/award.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^
2 β export * from './basics/basics.js'
3 β export * from './certificates/certificates.js'
```
i Use named export instead.
Raw Output:
./src/resume-schema/index.ts:1:8 lint/performance/noReExportAll ββββββββββββββββββββββββββββββββββββ
! Do not use export all ( export * from ... ).
```
> 1 β export * from './award/award.js'
β ^^^^^^^^^^^^^^^^^^^^^^^^^
2 β export * from './basics/basics.js'
3 β export * from './certificates/certificates.js'
```
i Use named export instead.
|
πΆ reviewdog with Biome:
src/resume-schema/index.ts#L1
[Biome] reported by reviewdog πΆ
! Importing package private symbols is prohibited from outside the module directory.
```
> 1 β export * from './award/award.js'
β ^^^^^^^^^^^^^^^^^^
2 β export * from './basics/basics.js'
3 β export * from './certificates/certificates.js'
```
i Please import from ./award instead (you may need to re-export the symbol(s) from ./award/award.js).
Raw Output:
./src/resume-schema/index.ts:1:15 lint/nursery/useImportRestrictions βββββββββββββββββββββββββββββββ
! Importing package private symbols is prohibited from outside the module directory.
```
> 1 β export * from './award/award.js'
β ^^^^^^^^^^^^^^^^^^
2 β export * from './basics/basics.js'
3 β export * from './certificates/certificates.js'
```
i Please import from ./award instead (you may need to re-export the symbol(s) from ./award/award.js).
|
πΆ reviewdog with Biome
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
Setup Biome
Unexpected input(s) 'biome-version', valid inputs are ['token', 'version', 'working-dir']
|
Loading