-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cleaned up project * Added reportContractsMD function * Switched back to node * Added prettier to deps * Fixed bug with path * Fixed tests * Removed misleading error handling * Fixed scripts * Fixed workspaces * Handle more connection errors * Updated versions * Updated Network constants * Removed handling of network errors. Added caching mechanism * Updated docs * Updated CHANGELOG.md
- Loading branch information
Showing
39 changed files
with
8,506 additions
and
12,416 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,61 @@ | ||
const js = require("@eslint/js"); | ||
|
||
const typescript = require("@typescript-eslint/eslint-plugin"); | ||
const tsParser = require("@typescript-eslint/parser"); | ||
|
||
module.exports = [ | ||
js.configs.recommended, | ||
{ | ||
ignores: ["dist/*.js", "*.md", "test/fixture-projects/**/*.*"], | ||
files: ["**/*.ts", "**/*.tsx"], | ||
languageOptions: { | ||
parser: tsParser, | ||
ecmaVersion: "latest", | ||
}, | ||
plugins: { | ||
"@typescript-eslint": typescript, | ||
}, | ||
rules: { | ||
"arrow-parens": "off", | ||
"no-debugger": "warn", | ||
"no-undef": "off", | ||
"no-unused-var": "off", | ||
"no-unused-vars": "off", | ||
"no-warning-comments": [ | ||
"warn", | ||
{ | ||
terms: ["hardcoded"], | ||
location: "anywhere", | ||
}, | ||
], | ||
"no-return-await": "warn", | ||
"object-curly-spacing": ["error", "always"], | ||
"no-var": "error", | ||
"comma-dangle": ["warn", "always-multiline"], | ||
"linebreak-style": ["error", "unix"], | ||
"generator-star-spacing": "off", | ||
"no-tabs": "error", | ||
"max-len": [ | ||
"warn", | ||
{ | ||
code: 120, | ||
comments: 120, | ||
ignoreUrls: true, | ||
ignoreStrings: true, | ||
ignoreTemplateLiterals: true, | ||
ignoreRegExpLiterals: true, | ||
}, | ||
], | ||
"no-console": [ | ||
"warn", | ||
{ | ||
allow: ["warn", "error"], | ||
}, | ||
], | ||
"no-multiple-empty-lines": ["error", { max: 1, maxEOF: 0, maxBOF: 0 }], | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-unused-expressions": "off", | ||
}, | ||
}, | ||
]; |
Oops, something went wrong.