Skip to content

Commit 8d115d6

Browse files
committed
eslint -> biome
1 parent 37dfc94 commit 8d115d6

149 files changed

Lines changed: 522 additions & 3373 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitlab/ci/build_app.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ app-format-check:
3535
- pnpm format apps/polycentric
3636
allow_failure: true
3737

38+
app-lint-check:
39+
extends: .app-check-base
40+
stage: check
41+
script:
42+
- pnpm --filter polycentric-app lint
43+
allow_failure: true
44+
3845
app-tests:
3946
extends: .app-check-base
4047
stage: check

.gitlab/ci/build_js_sdks.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ js-sdks-format-check:
3939
- pnpm format
4040
allow_failure: true
4141

42+
js-sdks-lint-check:
43+
extends: .js-sdks-base
44+
stage: check
45+
script:
46+
- pnpm --filter js-core lint
47+
allow_failure: true
48+
4249
js-core-tests-check:
4350
extends: .js-sdks-base
4451
stage: check

.vscode/settings.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"eslint.workingDirectories": [
3-
{
4-
"pattern": "packages/*"
5-
}
6-
],
72
"editor.suggest.showSnippets": false,
83
"editor.formatOnSave": true,
94
"editor.codeActionsOnSave": {

apps/polycentric/app/+html.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ScrollViewStyleReset } from 'expo-router/html';
2-
import { type PropsWithChildren } from 'react';
2+
import type { PropsWithChildren } from 'react';
33

44
export default function Root({ children }: PropsWithChildren) {
55
return (

apps/polycentric/eslint.config.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

apps/polycentric/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"web": "expo start --web",
1313
"build:web": "expo export --platform web",
1414
"test": "jest",
15-
"lint": "expo lint",
15+
"lint": "biome lint .",
16+
"lint:fix": "biome lint --write .",
1617
"prebuild": "APP_VARIANT=dev expo prebuild --clean",
1718
"typecheck": "tsc && tsc -p tsconfig.test.json"
1819
},
@@ -86,12 +87,9 @@
8687
"@types/node": "catalog:",
8788
"@types/react": "~19.2.17",
8889
"@types/react-test-renderer": "^19.1.0",
89-
"eslint": "^10.0.0",
90-
"eslint-config-expo": "~57.0.0",
9190
"jest": "^29.7.0",
9291
"jest-expo": "~57.0.1",
9392
"only-allow": "^1.2.2",
94-
"prettier": "^3.8.4",
9593
"react-test-renderer": "19.2.3",
9694
"typescript": "~6.0.3"
9795
},

apps/polycentric/src/common/components/Avatar/Avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useTheme, withHexOpacity } from '@/src/common/theme';
33
import { Image, type ImageProps } from 'expo-image';
44
import {
55
Pressable,
6-
PressableProps,
6+
type PressableProps,
77
StyleSheet,
88
View,
99
type ViewProps,

apps/polycentric/src/common/components/Avatar/AvatarEdit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentProps, useState } from 'react';
1+
import { type ComponentProps, useState } from 'react';
22
import { Avatar } from './Avatar';
33
import * as ImagePicker from 'expo-image-picker';
44

apps/polycentric/src/common/components/Avatar/ProfileAvatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentProps, useMemo } from 'react';
1+
import { type ComponentProps, useMemo } from 'react';
22
import { Avatar, resolveAvatarSize } from './Avatar';
33
import {
44
identiconUrl,

apps/polycentric/src/common/components/Avatar/ProfileEditAvatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentProps, useMemo } from 'react';
1+
import { type ComponentProps, useMemo } from 'react';
22
import { resolveAvatarSize } from './Avatar';
33
import AvatarEdit from './AvatarEdit';
44
import {

0 commit comments

Comments
 (0)