-
Notifications
You must be signed in to change notification settings - Fork 316
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
Showing
156 changed files
with
75,039 additions
and
191,593 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 |
---|---|---|
|
@@ -10,4 +10,5 @@ webpack.config.js | |
typedoc.js | ||
**/*.d.ts | ||
docs-theme/ | ||
node_modules | ||
node_modules | ||
**/tests/** |
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,9 +1,33 @@ | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
reportUnusedDisableDirectives: true, | ||
extends: ['@blockstack/eslint-config'], | ||
extends: '@stacks/eslint-config', | ||
plugins: ['@typescript-eslint', 'node'], | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: ['./packages/**/tsconfig.json', './tsconfig.json'] | ||
} | ||
project: ['./packages/**/tsconfig.json', './tsconfig.json'], | ||
}, | ||
settings: { | ||
node: { | ||
tryExtensions: ['.ts'], | ||
}, | ||
}, | ||
rules: { | ||
'@typescript-eslint/explicit-module-boundary-types': [0], | ||
'@typescript-eslint/prefer-regexp-exec': [0], | ||
'@typescript-eslint/ban-ts-comment': [0], | ||
'@typescript-eslint/restrict-template-expressions': [0], | ||
'@typescript-eslint/no-inferrable-types': [0], | ||
'@typescript-eslint/no-unnecessary-type-assertion': [0], | ||
|
||
// TODO: enable the `no-unsafe-*` rules | ||
'@typescript-eslint/no-unsafe-assignment': [0], | ||
'@typescript-eslint/no-unsafe-call': [0], | ||
'@typescript-eslint/no-unsafe-return': [0], | ||
'@typescript-eslint/no-unsafe-member-access': [0], | ||
'@typescript-eslint/no-non-null-assertion': [0], | ||
|
||
'node/prefer-global/buffer': ['error', 'never'], | ||
}, | ||
}; |
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
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 |
---|---|---|
|
@@ -47,3 +47,4 @@ dist | |
.rts2_cache_umd/ | ||
.idea | ||
|
||
*.tsbuildinfo |
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,2 +1,3 @@ | ||
*.d.ts | ||
*.html | ||
**/tests/** |
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,17 +1,126 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Tests", | ||
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], | ||
"args": ["${workspaceFolder}/tests/unitTests/src/index.ts"], | ||
"env": { "TS_NODE_PROJECT": "${workspaceFolder}/tests/unitTests/src/tsconfig.json" }, | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: auth", | ||
"cwd": "${workspaceFolder}/packages/auth", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: bns", | ||
"cwd": "${workspaceFolder}/packages/bns", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: cli", | ||
"cwd": "${workspaceFolder}/packages/cli", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: common", | ||
"cwd": "${workspaceFolder}/packages/common", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: encryption", | ||
"cwd": "${workspaceFolder}/packages/encryption", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: keychain", | ||
"cwd": "${workspaceFolder}/packages/keychain", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: network", | ||
"cwd": "${workspaceFolder}/packages/network", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: profile", | ||
"cwd": "${workspaceFolder}/packages/profile", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: stacking", | ||
"cwd": "${workspaceFolder}/packages/stacking", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: storage", | ||
"cwd": "${workspaceFolder}/packages/storage", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Jest: transactions", | ||
"cwd": "${workspaceFolder}/packages/transactions", | ||
"program": "./node_modules/.bin/jest", | ||
"args": [ | ||
"--runInBand" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
] | ||
} |
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
Oops, something went wrong.