Skip to content

👷 Add GitHub Actions config #20

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

Merged
merged 3 commits into from
Jul 7, 2021

Conversation

leonardodino
Copy link
Contributor

only did prettier auto-fix, had to disable a few rules from eslint-config-standard-with-typescript,
otherwise it ends up butchering the code 😅 during auto-fix.

we can cleanup manually later on, but at least now we don't regress 😄

@@ -76,7 +79,16 @@
],
"rules": {
"prettier/prettier": 2,
"no-shadow": 2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this one is incompatible with typescript, the equivalent is already included:
see: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-shadow.md

const scope = nock('http://localhost')
.get('/comments')
.reply(200)
const scope = nock('http://localhost').get('/comments').reply(200)
Copy link
Owner

Choose a reason for hiding this comment

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

I don't understand why formatting is changed here. Are your editor correctly picks up the project's .prettierrc.js?

Copy link
Owner

@exah exah Jul 7, 2021

Choose a reason for hiding this comment

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

Hmm.. look like the issue indeed on my side. Ignore the comment :D

@exah
Copy link
Owner

exah commented Jul 7, 2021

<3 Thanks!

@exah exah merged commit 49b8459 into exah:master Jul 7, 2021
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