-
Notifications
You must be signed in to change notification settings - Fork 5
👷 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
Conversation
@@ -76,7 +79,16 @@ | |||
], | |||
"rules": { | |||
"prettier/prettier": 2, | |||
"no-shadow": 2 |
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.
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) |
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.
I don't understand why formatting is changed here. Are your editor correctly picks up the project's .prettierrc.js
?
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.
Hmm.. look like the issue indeed on my side. Ignore the comment :D
<3 Thanks! |
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 😄