Skip to content

Commit 7407ffc

Browse files
authored
Merge pull request #1 from azdanov/fix-eslint
chore: fix eslint config
2 parents d5348a5 + b3836a4 commit 7407ffc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

bun.lockb

92 Bytes
Binary file not shown.

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import js from '@eslint/js';
22
import next from '@next/eslint-plugin-next';
3-
import perfectionistNatural from 'eslint-plugin-perfectionist/configs/recommended-natural';
3+
import perfectionist from 'eslint-plugin-perfectionist';
44
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
55
import tsEslint from 'typescript-eslint';
66

77
export default tsEslint.config(
88
js.configs.recommended,
9-
perfectionistNatural,
9+
perfectionist.configs['recommended-natural'],
1010
eslintPluginPrettierRecommended,
1111
...tsEslint.configs.recommended,
1212
{

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"strip-ansi": "7.1.0"
2424
},
2525
"devDependencies": {
26+
"@next/eslint-plugin-next": "^14.2.20",
2627
"@tailwindcss/forms": "0.5.9",
2728
"@types/node": "^22.10.2",
2829
"@types/react": "^18.3.16",
@@ -48,5 +49,10 @@
4849
"start": "next start"
4950
},
5051
"version": "0.1.0",
51-
"packageManager": "[email protected]"
52+
"packageManager": "[email protected]",
53+
"trustedDependencies": [
54+
"protobufjs",
55+
"rxdb",
56+
"sharp"
57+
]
5258
}

0 commit comments

Comments
 (0)