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.
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
Support asconfig.json #1238
Support asconfig.json #1238
Changes from 67 commits
67d8013
6a70013
4cf1b2b
0115341
cb6e9ac
f071ae8
dd12c9a
6f98121
d637a1f
ef481e5
483cc9d
9f602b1
ca95430
3257573
e05a71f
a0700c6
4dd142e
3b5a8ce
2a4e351
9e0d217
7155d50
a7a3999
4e3de7d
3e39805
932961d
a29f617
2ead5ae
c6af0dd
ec7d44c
d3abe65
acd8725
8195764
f30d456
7e26838
d8bd07b
7827a93
3e0303d
bb4cdaf
f44491c
ac37a14
a77826c
7c4e5cf
2ef00d0
3ad6d88
ca18d62
7f25365
dc55518
cbcb88e
9e35892
42703a1
0f1803d
b177e94
e80cd8b
d3a347d
2495578
ad7d24a
9e4aebf
debc2fc
00e9b27
d304b36
16bfe42
bc24391
27656af
e2bf925
8f5e8fb
55135bc
1b1fc19
62caba3
0d0e29e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
There could also be a workspace field, which could each have its own
ascofig.json.
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.
Or should this been it's own higher level cli like cargo?
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.
asconfig validation could probably look differently. Do you have any suggestions, or is this good?
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.
Checking just the top-level entries used by asconfig itself seems good, just the
typeOf
helper feels a bit alien. Perhaps just helpers forisObject
,isArray
,isString
?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.
Array.isArray()
is a great tool for arrays. But JS isn't very nice about checking objects. I will do a small refactor to create helpers for isString() and isObject().