Просмотр исходного кода

Merge pull request #10077 from weseek/support/156162-167488-pdf-converter-client-biome

support: Configure biome for pdf-converter-client package
mergify[bot] 9 месяцев назад
Родитель
Сommit
c539b7b515

+ 1 - 1
biome.json

@@ -22,7 +22,7 @@
       "./packages/core/src/utils/**",
       "./packages/core/src/models/**",
       "./packages/editor/**",
-      "./packages/pdf-converter-client/**"
+      "./packages/pdf-converter-client/src/index.ts"
     ]
   },
   "formatter": {

+ 1 - 0
packages/pdf-converter-client/.eslintignore

@@ -0,0 +1 @@
+*

+ 0 - 11
packages/pdf-converter-client/.eslintrc.cjs

@@ -1,11 +0,0 @@
-/**
- * @type {import('eslint').Linter.Config}
- */
-module.exports = {
-  extends: '../../.eslintrc.js',
-  ignorePatterns: [
-    'src/index.ts',
-    'dist/index.d.ts',
-    'dist/index.js',
-  ],
-};

+ 1 - 1
packages/pdf-converter-client/package.json

@@ -6,7 +6,7 @@
   "license": "MIT",
   "private": true,
   "scripts": {
-    "lint": "pnpm eslint **/*.{js,ts}",
+    "lint": "biome check",
     "gen:client-code": "orval",
     "dev": "pnpm gen:client-code && tsc -p tsconfig.json",
     "build": "pnpm gen:client-code && tsc -p tsconfig.json"