Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Sep 14, 2024
1 parent 6e635ff commit 1fb87e9
Show file tree
Hide file tree
Showing 21 changed files with 1,871 additions and 2,045 deletions.
16 changes: 16 additions & 0 deletions debug-utils/.eslintignore
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
27 changes: 27 additions & 0 deletions debug-utils/.eslintrc
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
}
}
]
}
16 changes: 16 additions & 0 deletions debug-utils/.prettierignore
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
3 changes: 3 additions & 0 deletions debug-utils/.prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('@makerx/prettier-config'),
}
Loading

0 comments on commit 1fb87e9

Please sign in to comment.