-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhironghao
committed
Jan 10, 2022
1 parent
b80f202
commit 5258697
Showing
133 changed files
with
37,726 additions
and
15,171 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
> 1% | ||
last 3 versions | ||
iOS >= 8 | ||
Android >= 4 | ||
Chrome >= 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
demo/ | ||
dist/ | ||
es/ | ||
lib/ | ||
docs/ | ||
types/ | ||
*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
module.exports = { | ||
extends: [ | ||
'airbnb-base', | ||
'prettier', | ||
'prettier/@typescript-eslint', | ||
'plugin:@typescript-eslint/recommended', | ||
], | ||
env: { | ||
browser: true, | ||
node: true, | ||
es6: true, | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
sourceType: 'module', | ||
}, | ||
plugins: ['@typescript-eslint'], | ||
rules: { | ||
// 末尾不加分号,只有在有可能语法错误时才会加分号 | ||
semi: 0, | ||
'@typescript-eslint/semi': 0, | ||
// 箭头函数需要有括号 (a) => {} | ||
'arrow-parens': 0, | ||
'no-use-before-define': 0, | ||
// 关闭不允许回调未定义的变量 | ||
'standard/no-callback-literal': 0, | ||
// 关闭副作用的 new | ||
'no-new': 'off', | ||
// 关闭每行最大长度小于 80 | ||
'max-len': 0, | ||
// 函数括号前面不加空格 | ||
// 关闭要求 require() 出现在顶层模块作用域中 | ||
'global-require': 0, | ||
// 关闭关闭类方法中必须使用this | ||
'class-methods-use-this': 0, | ||
// 关闭禁止对原生对象或只读的全局对象进行赋值 | ||
'no-global-assign': 0, | ||
// 关闭禁止对关系运算符的左操作数使用否定操作符 | ||
'no-unsafe-negation': 0, | ||
// 关闭禁止使用 console | ||
'no-console': 0, | ||
// 关闭禁止末尾空行 | ||
'eol-last': 0, | ||
// 关闭强制在注释中 // 或 /* 使用一致的空格 | ||
'spaced-comment': 0, | ||
// 关闭禁止对 function 的参数进行重新赋值 | ||
'no-param-reassign': 0, | ||
// 强制使用一致的换行符风格 (linebreak-style) | ||
'linebreak-style': ['error', 'unix'], | ||
// 关闭全等 === 校验 | ||
eqeqeq: 0, | ||
// 禁止使用拖尾逗号(即末尾不加逗号) | ||
'comma-dangle': 0, | ||
// 关闭强制使用骆驼拼写法命名约定 | ||
camelcase: 1, | ||
'import/extensions': 0, | ||
'import/no-unresolved': 0, | ||
'consistent-return': 0, | ||
'no-plusplus': 0, | ||
'no-restricted-globals': 0, | ||
'prefer-promise-reject-errors': 0, | ||
'prefer-destructuring': 0, | ||
'prefer-const': 0, | ||
'no-unused-expressions': 1, | ||
'space-before-function-paren': 1, | ||
'@typescript-eslint/no-empty-function': 0, | ||
'no-shadow': 1, | ||
'no-underscore-dangle': 0, | ||
'no-bitwise': 0, | ||
'import/prefer-default-export': 1, | ||
'@typescript-eslint/no-extra-semi': 1, | ||
'no-multi-assign': 1, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
**/*.svg | ||
package.json | ||
.umi | ||
.umi-production | ||
/dist | ||
.dockerignore | ||
.DS_Store | ||
.eslintignore | ||
*.png | ||
*.toml | ||
docker | ||
.editorconfig | ||
Dockerfile* | ||
.gitignore | ||
.prettierignore | ||
.npmignore | ||
.browserlistrc | ||
LICENSE | ||
.eslintcache | ||
*.lock | ||
yarn-error.log | ||
.history | ||
.prettierrc | ||
public | ||
lib | ||
es | ||
build | ||
docs | ||
doc | ||
README.md | ||
CHANGELOG.md | ||
src-old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
# 更新日志 | ||
|
||
## 0.0.1 (2019-01-10 15:23) [@luoxue <[email protected]>]() | ||
|
||
* 开启测试版 | ||
* 式例:`Money` | ||
* `toFen`, `toYuan` 方法返回值转换成数字类型 | ||
| 版本 | 主要更新功能 | 时间 | 作者 | | ||
| :------: | :------------------------------------------------- | :--------: | :----------: | | ||
| ## 3.3.0 | 默认使用universal link | 2021.1.18 | huangjiaxing | | ||
| ## 3.2.3 | ios增加渠道统计 | 2020.11.2 | huangjiaxing | | ||
| ## 3.2.2 | 升级command-tools,增加eslint等;支持一格app的吊起 | 2020.8.7 | huangjiaxing | | ||
| ## 3.2.1 | 增加配置,支持是否下载 | 2020.7.15 | huangjiaxing | | ||
| ## 3.1.2 | 增加通用链接方式,修改引用的第三方资源地址 | 2020.1.8 | huangjiaxing | | ||
| ## 3.1.0 | 更新文档 | 2020.1.8 | huangjiaxing | | ||
| ## 4.0.0 | 重构项目架构,详情见 [v4](./v4/log.md) | 2021.08.20 | zhironghao | | ||
| ## 4.0.1 | 支持找靓机 ulink | 2021.09.28 | zhironghao | |
Oops, something went wrong.