diff --git a/code/web/regulatory-management-util/.eslintrc.cjs b/code/web/regulatory-management-util/.eslintrc.cjs
deleted file mode 100644
index f95e36a..0000000
--- a/code/web/regulatory-management-util/.eslintrc.cjs
+++ /dev/null
@@ -1,216 +0,0 @@
-/*
- * @Author: Kane
- * @Date: 2023-03-14 09:19:21
- * @LastEditors: Kane
- * @FilePath: /task_schedule/.eslintrc.cjs
- * @Description: eslint 配置文件
- *
- * Copyright (c) ${2022} by Kane, All Rights Reserved.
- */
-module.exports = {
- root: true,
- env: { // 需要在env中指定运行的环境,这些环境其实就是一组预定义的全局变量,让 ESLint 知道当前环境存在这些全局变量
- node: true,
- browser: true,
- es2021: true,
- },
- parser:"espree",
- parserOptions:{
- sourceType: "module",
- ecmaVersion: 2021,
- },
- extends:["eslint:recommended",],
- rules:{
- // indent: ["warn", 4,],
- // 圆括号中的空格,为空不加空格,紧跟花括号、方括号、圆括号时也不加入空格
- "space-in-parens": ["error", "always", { exceptions: ["{}", "[]", "()", "empty",], },],
- "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
- "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
- "no-unused-vars": "warn",
- semi: ["error", "always",], // 控制行尾部分号
- quotes: ["error", "double",],
- "comma-dangle": ["error", {
- arrays: "always",
- objects: "always",
- imports: "never",
- exports: "never",
- functions: "never",
- },], // 数组和对象键值对最后一个逗号
- "comma-style": ["error", "last",], // 逗号在行位
- "no-undef-init": "error",
- "no-invalid-this": "error",
- "no-use-before-define": "error",
- "no-shadow-restricted-names": "error", // 禁止对一些关键字或者保留字进行赋值操作,比如NaN、Infinity、undefined、eval、arguments等
- "comma-spacing": ["error", { before: false, after: true, },],
- "array-bracket-spacing": ["error", "never", {
- singleValue: false,
- objectsInArrays: false,
- arraysInArrays: false,
- },],
- "brace-style": ["error", "allman", { allowSingleLine: true, },],
- "prefer-const": "warn",
- "space-before-function-paren": ["error", {
- anonymous: "always",
- named: "never",
- asyncArrow: "always",
- },],
- },
- overrides: [
- {
- files: ["*.vue",],
- parser: "vue-eslint-parser",
- parserOptions: {
- ecmaVersion: 2021,
- sourceType: "module",
- parser: { //
diff --git a/code/web/regulatory-management-util/src/utils/regulatory_utils.ts b/code/web/regulatory-management-util/src/utils/regulatory_utils.ts
index 8ed69b3..f508fd1 100644
--- a/code/web/regulatory-management-util/src/utils/regulatory_utils.ts
+++ b/code/web/regulatory-management-util/src/utils/regulatory_utils.ts
@@ -2,7 +2,7 @@
* @Author: Kane Wang
* @Date: 2026-01-05 10:42:42
* @LastEditors: Kane Wang
- * @LastModified: 2026-01-05 19:21:09
+ * @LastModified: 2026-02-03 18:15:32
* @FilePath: src/utils/regulatory_utils.ts
* @Description:
*
@@ -19,8 +19,7 @@ interface AddNewRegulatoryResponse
}
interface Render {
- ( resonse: AddNewRegulatoryResponse ) :void,
-}
+ ( resonse: AddNewRegulatoryResponse ) :void, }
/**
*