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 stylelint to pre-commit tasks and update vscode settings to format and lint scss #16134

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

edmundito
Copy link
Contributor

What

Add stylelint to pre-commit tasks and update vscode settings to format and lint scss.

How

Updates package.json and vscode settings files.

Update lint-staged to lint files
@edmundito edmundito added the area/frontend Related to the Airbyte webapp label Aug 30, 2022
@github-actions github-actions bot added the area/platform issues related to the platform label Aug 30, 2022
"esbenp.prettier-vscode",
"ms-vsliveshare.vsliveshare",
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 extension seemed extraneous what was needed, so I removed it.

@@ -137,8 +137,14 @@
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"src/**/*.{js,jsx,ts,tsx,json}": [
"eslint --fix"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Eslint already runs prettier

@edmundito edmundito requested a review from a team September 7, 2022 14:24
Copy link
Contributor

@krishnaglick krishnaglick left a comment

Choose a reason for hiding this comment

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

LGTM, did not test locally

@edmundito edmundito merged commit 5103096 into master Sep 8, 2022
@edmundito edmundito deleted the edmundito/auto-lint-fixes branch September 8, 2022 14:30
robbinhan pushed a commit to robbinhan/airbyte that referenced this pull request Sep 29, 2022
jhammarstedt pushed a commit to jhammarstedt/airbyte that referenced this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp area/platform issues related to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants