-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 parent
6e635ff
commit 1fb87e9
Showing
21 changed files
with
1,871 additions
and
2,045 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 @@ | ||
# don't lint the linter config | ||
.eslintrc.js | ||
# don't ever lint node_modules | ||
node_modules | ||
# don't lint build output (make sure it's set to your correct build folder name) | ||
dist | ||
build | ||
# don't lint nyc coverage output | ||
coverage | ||
# don't lint generated types | ||
**/generated/types.d.ts | ||
**/generated/types.ts | ||
# don't lint ide files | ||
.idea | ||
.vscode | ||
debug-utils |
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,27 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": ["@makerx/eslint-config"], | ||
"rules": { | ||
"no-restricted-syntax": [ | ||
"error", | ||
{ | ||
// Algosdk v2.x.x exports a malformed ES module and when using utils-ts in an ESM project | ||
// the CJS module may be loaded, which may not fuly support all named exports. | ||
// The easiest solution for now, is to only use the default export. | ||
"message": "Only use the default export in 'algosdk'. See rule comment for details", | ||
"selector": "ImportDeclaration[source.value=\"algosdk\"] ImportSpecifier" | ||
} | ||
] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["**/*.spec.ts"], | ||
"rules": { | ||
"no-restricted-syntax": 0 | ||
} | ||
} | ||
] | ||
} |
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 @@ | ||
# don't ever format node_modules | ||
node_modules | ||
# don't lint format output (make sure it's set to your correct build folder name) | ||
dist | ||
build | ||
# don't format nyc coverage output | ||
coverage | ||
# don't format generated types | ||
**/generated/types.d.ts | ||
**/generated/types.ts | ||
# don't format ide files | ||
.idea | ||
# don't format auto generated code docs | ||
docs/code | ||
# don't format test contract artifacts | ||
tests/example-contracts/**/*.json |
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,3 @@ | ||
module.exports = { | ||
...require('@makerx/prettier-config'), | ||
} |
Oops, something went wrong.