-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Apexrsq/refactor/dev
Title: Refactor project using TypeScript
- Loading branch information
Showing
101 changed files
with
11,751 additions
and
5,882 deletions.
There are no files selected for viewing
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,16 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab |
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,7 @@ | ||
_tests_/*.js | ||
lib/*.js | ||
|
||
env.js | ||
src/dataTypes/** | ||
|
||
test/* |
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,63 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true, | ||
"jest": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly", | ||
"require": false, | ||
"export": false, | ||
"import": false | ||
}, | ||
"rules": { | ||
"generator-star-spacing": [0], | ||
"camelcase": [0], | ||
"consistent-return": [0], | ||
"global-require": [0], | ||
"import/prefer-default-export": [0], | ||
"no-underscore-dangle": [0], | ||
"no-else-return": [0], | ||
"no-restricted-syntax": [0], | ||
"no-use-before-define": [0], | ||
"no-nested-ternary": [0], | ||
"arrow-body-style": [0], | ||
"import/extensions": [0], | ||
"max-len": [ | ||
2, | ||
{ | ||
"code": 200, | ||
"tabWidth": 2, | ||
"ignorePattern": "^\\s*[<svg|<path].+>", | ||
"ignoreUrls": true, | ||
"ignoreTemplateLiterals": true, | ||
"ignoreRegExpLiterals": true, | ||
"ignoreComments": true | ||
} | ||
], | ||
"no-bitwise": [0], | ||
"no-cond-assign": [0], | ||
"import/no-unresolved": [0], | ||
"require-yield": [0], | ||
"no-constant-condition": [0], | ||
"no-console": [0], | ||
"no-script-url": [0], | ||
"no-param-reassign": [0], | ||
"no-restricted-properties": [0], | ||
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }], | ||
"object-curly-newline": [0], | ||
"@typescript-eslint/no-unused-vars": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,64 @@ | ||
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig | ||
# Compiled source # | ||
################### | ||
*.com | ||
*.class | ||
*.dll | ||
*.exe | ||
*.o | ||
*.so | ||
|
||
# Created by https://www.gitignore.io/api/macos,visualstudiocode,git | ||
# Edit at https://www.gitignore.io/?templates=macos,visualstudiocode,git | ||
# Packages # | ||
############ | ||
# it's better to unpack these files and commit the raw source | ||
# git has its own built in compression methods | ||
*.7z | ||
*.dmg | ||
*.gz | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
|
||
### Git ### | ||
# Created by git for backups. To disable backups in Git: | ||
# $ git config --global mergetool.keepBackup false | ||
*.orig | ||
# Logs and databases # | ||
###################### | ||
*.log | ||
*.sql | ||
*.sqlite | ||
|
||
# Created by git when using merge tools for conflicts | ||
*.BACKUP.* | ||
*.BASE.* | ||
*.LOCAL.* | ||
*.REMOTE.* | ||
*_BACKUP_*.txt | ||
*_BASE_*.txt | ||
*_LOCAL_*.txt | ||
*_REMOTE_*.txt | ||
|
||
### macOS ### | ||
# General | ||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
# Thumbnails | ||
.DS_Store? | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
ehthumbs.db | ||
Thumbs.db | ||
~/Desktop | ||
|
||
# Secrets # | ||
########### | ||
.secret | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
# Node # | ||
######## | ||
node_modules | ||
|
||
### VisualStudioCode ### | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
# Yarn # | ||
######## | ||
*.lock | ||
|
||
### VisualStudioCode Patch ### | ||
# Ignore all local history of files | ||
.history | ||
# VSCode # | ||
########## | ||
.vscode | ||
|
||
# End of https://www.gitignore.io/api/macos,visualstudiocode,git | ||
# IntelliJ # | ||
########## | ||
.idea | ||
|
||
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) | ||
# code coverage" | ||
coverage | ||
|
||
*-error.log | ||
node_modules/ | ||
.env.js | ||
pm2.json | ||
/app/* | ||
!app/.gitkeep | ||
!app/template.js | ||
!app/level3-full.js | ||
!app/level3-merge.js | ||
!app/level2-book.js | ||
/logs | ||
/sdk | ||
./*.js | ||
env.local.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,18 @@ | ||
{ | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"quoteProps": "as-needed", | ||
"jsxSingleQuote": false, | ||
"trailingComma": "none", | ||
"bracketSpacing": true, | ||
"jsxBracketSameLine": false, | ||
"arrowParens": "always", | ||
"requirePragma": false, | ||
"insertPragma": false, | ||
"proseWrap": "preserve", | ||
"htmlWhitespaceSensitivity": "css", | ||
"endOfLine": "lf" | ||
} |
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 @@ | ||
# Changelog | ||
|
||
The current SDK has aligned documents to 2023.04.02 | ||
|
||
## [2.0.0](https://github.com/Kucoin/kucoin-futures-node-sdk/compare/v2.0.0...v1.0.3) (2023-06-20) | ||
|
||
### ⚠ BREAKING CHANGES | ||
- Changes in usage | ||
- Method name changes |
Oops, something went wrong.