-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Conversation
Update lint-staged to lint files
"esbenp.prettier-vscode", | ||
"ms-vsliveshare.vsliveshare", |
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 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" |
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.
Eslint already runs prettier
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.
LGTM, did not test locally
Update lint-staged to lint files
Update lint-staged to lint files
What
Add stylelint to pre-commit tasks and update vscode settings to format and lint scss.
How
Updates package.json and vscode settings files.