Skip to content
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

add gha and linting #72

Merged
merged 14 commits into from
Oct 17, 2023
Merged

add gha and linting #72

merged 14 commits into from
Oct 17, 2023

Conversation

acharb
Copy link
Contributor

@acharb acharb commented Oct 9, 2023

adding gha to automate tests, and linting

linting ticket

automated test ticket

@acharb acharb changed the title add gha add gha and linting Oct 10, 2023
@acharb acharb changed the base branch from release/1.3.0 to acharb-sep12 October 10, 2023 10:18
@acharb acharb marked this pull request as draft October 10, 2023 10:19
Base automatically changed from acharb-sep12 to release/1.3.0 October 11, 2023 14:28
@acharb acharb marked this pull request as ready for review October 16, 2023 15:06
"plugin:@typescript-eslint/recommended",
"prettier",
],
rules: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied a lot of from https://github.com/stellar/product-conventions/blob/master/packages/eslint-config/.eslintrc.js but didn't extend as there's a lot of react stuff in there

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a standard eslint config for Stellar projects?

Copy link
Contributor Author

@acharb acharb Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only one I'm aware of is that product conventions one linked above which we're using in all of our frontend projects (freighter, vibrant, lab etc). I copied most of those configs w/o the stuff that didn't apply (like react stuff)

cc @piyalbasu if there's any eslint config I'm not aware of to extend with

Copy link
Contributor

@Ifropc Ifropc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just couple questions

"plugin:@typescript-eslint/recommended",
"prettier",
],
rules: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a standard eslint config for Stellar projects?

package.json Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
@acharb acharb requested a review from Ifropc October 16, 2023 20:27
@acharb acharb merged commit 5072808 into release/1.3.0 Oct 17, 2023
1 check passed
@acharb acharb deleted the acharb-gha branch October 17, 2023 14:05
piyalbasu added a commit that referenced this pull request Jan 8, 2024
* add type aliases, and make sep24 example use env vars (#66)

* add type aliases

* make example use env vars

* Account setup and recovery using SEP-30 (#65)

* Add AccountRecover class

* Add Recovery class

* Add builderExtra param

* Fix importing

* Swallow 404 error on registerRecoveryServerSigners function

* Remove todo comment

* Use plural

* Add basic testing

* increase timeout

* Move private functions to the bottom

* Make AccountRecover abstract

* Rename type to WalletRecoveryServers

* add Customer / SEP-12 code (#71)

* add type aliases

* make example use env vars

* finish tests

* add types

* cleanup

* comment update

* use getCustomer

* jsdoc

* for binary data

* clean up

* cleanup

* use sep9BinaryInfo

* cleanup

* add gha and linting (#72)

* add type aliases

* make example use env vars

* finish tests

* add types

* cleanup

* add gha

* clean up all files

* add prettier lint

* sep12 stuff linting

* cleanup

* move to devdeps

* add jsdocs to all major functions (#73)

* add type aliases

* make example use env vars

* finish tests

* add types

* cleanup

* add gha

* clean up all files

* add prettier lint

* sep12 stuff linting

* cleanup

* add for all classes

* more comments

* more fixes

* more changes

* cleanup

* small fixes to Recovery code (#75)

* small fixes

* fix path payment test

* add sep6 get info (#76)

* add SEP6 deposit and withdrawal (#77)

* add sep6 deposit and withdrawal

* comment

* make better response

* remove wrapper type

* add exchange endpoints (#78)

* adding recovery integration tests (#74)

* first cut

* try workflow

* run daemon

* print logs

* restart on failure

* try this

* try

* try

* try

* try

* cross fingers

* fix

* works hopefully

* fix

* add back

* cleanup

* image versions and readme

* add watcher and polling to sep6 (#79)

* upgrade stellar-sdk to v11.0.0-beta.6 (#80)

* add authToken class (#81)

* add authToken class

* make account optional

* cleanup

* remove un-needed account

* adding some helper methods (#82)

* account merge and premade assets (#83)

* add sep38 info, price, and prices (#84)

* sep38 getinfo

* add prices info, cleanup

* move authToken to optional arg

* add jsdoc

* throw if both buy and sell amount given

* add sep38 quote (#85)

* sep38 getinfo

* add prices info, cleanup

* first cut

* move authToken to optional arg

* cleanup

* add jsdoc

* throw if both buy and sell amount given

* make context type right (#86)

* fix test

* bumping package version

---------

Co-authored-by: Alec Charbonneau <[email protected]>
Co-authored-by: Cássio Marcos Goulart <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants