Procházet zdrojové kódy

configure biome for pdf-converter-client

Futa Arai před 9 měsíci
rodič
revize
756225ee18

+ 1 - 1
biome.json

@@ -23,7 +23,7 @@
       "./packages/core-styles/**",
       "./packages/core-styles/**",
       "./packages/custom-icons/**",
       "./packages/custom-icons/**",
       "./packages/editor/**",
       "./packages/editor/**",
-      "./packages/pdf-converter-client/**",
+      "./packages/pdf-converter-client/src/index.ts",
       "./packages/pluginkit/**",
       "./packages/pluginkit/**",
       "./packages/remark-attachment-refs/**"
       "./packages/remark-attachment-refs/**"
     ]
     ]

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