Skip to content

Commit

Permalink
fix: 暂存
Browse files Browse the repository at this point in the history
  • Loading branch information
richenlin committed Nov 1, 2024
1 parent 4b5dc9d commit 4ba0d2b
Show file tree
Hide file tree
Showing 9 changed files with 12,799 additions and 321 deletions.
27 changes: 11 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
/*
* @Description:
* @Usage:
* @Author: richen
* @Date: 2023-11-08 15:25:22
* @LastEditTime: 2023-12-11 05:17:55
* @License: BSD (3-Clause)
* @Copyright (c): <richenlin(at)gmail.com>
/**
*
*/
module.exports = {
root: true,
Expand All @@ -28,22 +22,23 @@ module.exports = {
},
rules: {
"@typescript-eslint/no-explicit-any": "off",
// "@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-require-imports": "warn",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/no-param-reassign": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/ban-types": ["error",
"@typescript-eslint/no-unsafe-function-type": "warn",
"@typescript-eslint/ban-types": "off",
'@typescript-eslint/no-unused-vars': [
'error',
{
"types": {
"Object": false,
"Function": false,
},
"extendDefaults": true
vars: 'all', // 检查所有变量
varsIgnorePattern: '^_', // 允许以 _ 开头的变量
args: 'after-used', // 仅检查被使用的参数
argsIgnorePattern: '^_', // 允许以 _ 开头的参数
}
],
},
Expand Down
2 changes: 1 addition & 1 deletion .rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Usage:
* @Author: richen
* @Date: 2021-12-17 10:20:44
* @LastEditTime: 2022-05-27 11:50:23
* @LastEditTime: 2024-11-01 09:57:55
*/
import json from "@rollup/plugin-json";
import typescript from 'rollup-plugin-typescript2';
Expand Down
Loading

0 comments on commit 4ba0d2b

Please sign in to comment.