-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QN mappings review & fixes #4856
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c86c975
fix: implement mapping for UpdateGlobalNftLimit proposal type
zeeshanakram3 f5606b2
fix: gracefully handle actions by 'Lead' as content actor
zeeshanakram3 7d861ae
remove 'throw' use from mappings
zeeshanakram3 a9223dc
add custom eslint 'no-throw' rule
zeeshanakram3 a814f5f
add eslint-plugin-local-rules dependency
zeeshanakram3 761d6b1
remove 'throw Error' instance from moderatePost function
zeeshanakram3 96e99b8
Merge remote-tracking branch 'upstream/master' into pr/zeeshanakram3/…
zeeshanakram3 b3f01a3
add node-gyp as devDependency
zeeshanakram3 810240d
exit from processor on error instead of throwing error
zeeshanakram3 0de7603
Merge branch 'master' into qn_mappings_review-fix
mnaamani e6a69ae
Merge pull request #7 from mnaamani/qn_mappings_review-fix
zeeshanakram3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,24 @@ | ||
module.exports = { | ||
'no-throw': { | ||
meta: { | ||
type: 'problem', | ||
docs: { | ||
description: 'disallow the use of throw keyword', | ||
category: 'Possible Errors', | ||
recommended: true, | ||
}, | ||
schema: [], | ||
}, | ||
|
||
create: function (context) { | ||
return { | ||
ThrowStatement(node) { | ||
context.report({ | ||
node: node, | ||
message: "The use of 'throw' keyword is not allowed.", | ||
}) | ||
}, | ||
} | ||
}, | ||
}, | ||
} |
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 @@ | ||
chain-metadata/ |
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding this package seems to require native build on mac/arm64 so I had to add
node-gyp
as a dev dependency to successfully build docker image of query-node.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in b3f01a3