-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit fcd1f2b
Showing
38 changed files
with
15,899 additions
and
0 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,82 @@ | ||
{ | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:node/recommended", | ||
"prettier" | ||
], | ||
"plugins": [ | ||
"node", | ||
"prettier", | ||
"unused-imports" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_", | ||
"caughtErrorsIgnorePattern": "^_" | ||
} | ||
], | ||
"block-scoped-var": "error", | ||
"eol-last": "error", | ||
"eqeqeq": "off", | ||
"no-var": "error", | ||
"no-trailing-spaces": "error", | ||
"no-restricted-properties": [ | ||
"error", | ||
{ | ||
"object": "describe", | ||
"property": "only" | ||
}, | ||
{ | ||
"object": "it", | ||
"property": "only" | ||
} | ||
], | ||
"node/no-unpublished-import": "off", | ||
"prefer-arrow-callback": "error", | ||
"prefer-const": "error", | ||
"prettier/prettier": "error", | ||
"quotes": ["warn", "double", { "avoidEscape": true }], | ||
"unused-imports/no-unused-imports": "error" | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["**/*.ts", "**/*.tsx"], | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"rules": { | ||
"@typescript-eslint/ban-types": "off", | ||
"@typescript-eslint/camelcase": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/no-warning-comments": "off", | ||
"no-dupe-class-members": "off", | ||
"node/no-empty-function": "off", | ||
"node/no-missing-import": "off", | ||
"node/no-missing-require": "off", | ||
"node/no-unsupported-features/es-syntax": "off", | ||
"node/shebang": "off", | ||
"require-atomic-updates": "off" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
} | ||
} | ||
], | ||
"ignorePatterns": [ | ||
"deprecated-truffle", | ||
"typechain-types", | ||
"coverage" | ||
] | ||
} |
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,95 @@ | ||
build | ||
.ganache | ||
.env.* | ||
|
||
# Common | ||
|
||
## Editor | ||
.idea | ||
.vscode | ||
*.code-workspace | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.svd | ||
*.userprefs | ||
*.csproj | ||
*.pidb | ||
*.user | ||
*.unityproj | ||
*.booproj | ||
ExportedObj/ | ||
*.xcuserstate | ||
|
||
## misc | ||
*.DS_Store | ||
.env.local | ||
.env.test.local | ||
.env.development.local | ||
.env.production.local | ||
|
||
## Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
## Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
## Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
## Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
## nyc test coverage | ||
.nyc_output | ||
|
||
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
## Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
## node-waf configuration | ||
.lock-wscript | ||
|
||
## Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
## Dependency directories | ||
node_modules/ | ||
|
||
## Optional npm cache directory | ||
.npm | ||
|
||
## Optional eslint cache | ||
.eslintcache | ||
|
||
## Optional REPL history | ||
.node_repl_history | ||
|
||
## Output of 'npm pack' | ||
*.tgz | ||
|
||
## Yarn Integrity file | ||
.yarn-integrity | ||
|
||
|
||
node_modules | ||
.env | ||
coverage | ||
coverage.json | ||
typechain | ||
typechain-types | ||
|
||
# Hardhat files | ||
cache | ||
artifacts | ||
|
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,6 @@ | ||
{ | ||
"bracketSpacing": false, | ||
"singleQuote": false, | ||
"trailingComma": "es5", | ||
"arrowParens": "avoid" | ||
} |
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,12 @@ | ||
# Webstela Ethereum Smart Contracts | ||
|
||
### Unit Test | ||
```shell | ||
npm run test | ||
``` | ||
|
||
### Coverage Test | ||
```shell | ||
npm run coverage | ||
``` | ||
|
Oops, something went wrong.