Browse Source

configure biome as remark-lsx linter

Futa Arai 10 months ago
parent
commit
7f51e541a7

+ 0 - 1
biome.json

@@ -30,7 +30,6 @@
       "./packages/remark-attachment-refs/**",
       "./packages/remark-attachment-refs/**",
       "./packages/remark-drawio/**",
       "./packages/remark-drawio/**",
       "./packages/remark-growi-directive/**",
       "./packages/remark-growi-directive/**",
-      "./packages/remark-lsx/**",
       "./packages/ui/**"
       "./packages/ui/**"
     ]
     ]
   },
   },

+ 1 - 1
packages/remark-lsx/.eslintignore

@@ -1 +1 @@
-/dist/**
+*

+ 0 - 18
packages/remark-lsx/.eslintrc.cjs

@@ -1,18 +0,0 @@
-module.exports = {
-  extends: [
-    'weseek/react',
-    'plugin:vitest/recommended',
-  ],
-  env: {
-  },
-  globals: {
-  },
-  settings: {
-    // resolve path aliases by eslint-import-resolver-typescript
-    'import/resolver': {
-      typescript: {},
-    },
-  },
-  rules: {
-  },
-};

+ 1 - 1
packages/remark-lsx/package.json

@@ -23,7 +23,7 @@
     "watch": "run-p watch:*",
     "watch": "run-p watch:*",
     "watch:client": "pnpm run dev:client -w --emptyOutDir=false",
     "watch:client": "pnpm run dev:client -w --emptyOutDir=false",
     "watch:server": "pnpm run dev:server -w --emptyOutDir=false",
     "watch:server": "pnpm run dev:server -w --emptyOutDir=false",
-    "lint:js": "eslint **/*.{js,jsx,ts,tsx}",
+    "lint:js": "biome check",
     "lint:styles": "stylelint --allow-empty-input \"src/**/*.scss\" \"src/**/*.css\"",
     "lint:styles": "stylelint --allow-empty-input \"src/**/*.scss\" \"src/**/*.css\"",
     "lint:typecheck": "vue-tsc --noEmit",
     "lint:typecheck": "vue-tsc --noEmit",
     "lint": "run-p lint:*",
     "lint": "run-p lint:*",