Yuki Takei 2 месяцев назад
Родитель
Сommit
d1345b4fed

+ 1 - 3
apps/app/src/client/components/UnstatedUtils.tsx

@@ -1,7 +1,5 @@
-/* eslint-disable import/prefer-default-export */
-
 import React from 'react';
-import { Provider, Subscribe } from 'unstated';
+import { Subscribe } from 'unstated';
 
 /**
  * generate K/V object by specified instances

+ 0 - 1
apps/app/src/utils/process-utils.ts

@@ -1,4 +1,3 @@
-/* eslint-disable import/prefer-default-export */
 export function hasProcessFlag(flag: string): boolean {
   return process.argv.join('').indexOf(flag) > -1;
 }

+ 2 - 1
biome.json

@@ -62,7 +62,8 @@
       "recommended": true,
       "style": {
         "useThrowOnlyError": "error",
-        "noParameterAssign": "warn"
+        "noParameterAssign": "warn",
+        "noDefaultExport": "warn"
       },
       "suspicious": {
         "noConsole": "error",