Skip to content

Commit

Permalink
fix: 新增 toObject和fromObject
Browse files Browse the repository at this point in the history
  • Loading branch information
深渊口香糖 committed Nov 12, 2024
1 parent 9937802 commit ec709f2
Show file tree
Hide file tree
Showing 2 changed files with 1,394 additions and 1,114 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,26 @@ module.exports = {
'vue/no-setup-props-destructure': 'off',
'vuejs-accessibility/anchor-has-content': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'prefer-const': 'off', //如果一个变量从未被重新赋值,那么使用const声明会更好。
'@typescript-eslint/ban-ts-comment': 'off', // 关闭禁止ts注释忽略校验
'@typescript-eslint/ban-types': [
//忽略默认的禁止类型
'error',
{
types: {
String: false,
Boolean: false,
Number: false,
Symbol: false,
'{}': false,
Object: false,
object: false,
Function: false,
},
extendDefaults: true,
},
],
'no-prototype-builtins': 'off',
},
overrides: [
{
Expand Down
Loading

0 comments on commit ec709f2

Please sign in to comment.