Skip to content

Commit 93268d9

Browse files
committed
chore: upgrade dependencies
1 parent 8e8cc6f commit 93268d9

File tree

12 files changed

+2177
-3738
lines changed

12 files changed

+2177
-3738
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,6 @@ jobs:
3131
- name: Typecheck files
3232
run: yarn typecheck
3333

34-
test:
35-
runs-on: ubuntu-latest
36-
37-
steps:
38-
- name: Checkout
39-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40-
41-
- name: Setup
42-
uses: ./.github/actions/setup
43-
44-
- name: Run unit tests
45-
run: yarn test --maxWorkers=2 --coverage
46-
4734
build-library:
4835
runs-on: ubuntu-latest
4936

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.19.0
1+
v22.19.0

assets.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module '*.png';

eslint.config.mjs

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
1-
import { fixupConfigRules } from '@eslint/compat';
2-
import { FlatCompat } from '@eslint/eslintrc';
3-
import js from '@eslint/js';
4-
import prettier from 'eslint-plugin-prettier';
5-
import { defineConfig } from 'eslint/config';
6-
import path from 'node:path';
7-
import { fileURLToPath } from 'node:url';
8-
9-
const __filename = fileURLToPath(import.meta.url);
10-
const __dirname = path.dirname(__filename);
11-
const compat = new FlatCompat({
12-
baseDirectory: __dirname,
13-
recommendedConfig: js.configs.recommended,
14-
allConfig: js.configs.all,
15-
});
1+
import { defineConfig, globalIgnores } from 'eslint/config';
2+
import { react, recommended } from 'eslint-config-satya164';
3+
import sort from 'eslint-plugin-simple-import-sort';
164

175
export default defineConfig([
6+
recommended,
7+
react,
8+
9+
globalIgnores([
10+
'**/node_modules/',
11+
'**/coverage/',
12+
'**/dist/',
13+
'**/lib/',
14+
'**/.expo/',
15+
'**/.yarn/',
16+
'**/.vscode/',
17+
]),
18+
1819
{
19-
extends: fixupConfigRules(compat.extends('@react-native', 'prettier')),
20-
plugins: { prettier },
21-
rules: {
22-
'react/react-in-jsx-scope': 'off',
23-
'prettier/prettier': 'error',
20+
plugins: {
21+
'simple-import-sort': sort,
2422
},
2523
},
26-
{
27-
ignores: ['node_modules/', 'lib/'],
28-
},
2924
]);

0 commit comments

Comments
 (0)