-
Notifications
You must be signed in to change notification settings - Fork 5
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
chore: updates code formatting configs #126
base: main
Are you sure you want to change the base?
Conversation
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.
Let's discuss this in our next call -- I want to see how this works. It's demo time! :-)
"editor.formatOnSave": true |
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.
What happens when a developer tries to save a file and they don't have the prettier extension installed?
"eslint.validate": ["json"], |
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.
What does this line do? Is it saying to only validate the json files? Because we'd want to validate more than just json.
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"firsttris.vscode-jest-runner", | ||
"stylelint.vscode-stylelint", |
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 believe that stylelint is a completely separate package/dependency that we aren't using in this repo. Is this still an extension that we should be recommending?
We may also want to recommend bmewburn.vscode-intelephense-client to allow formatting and code intelligence for the PHP files.
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"useTabs": true, | ||
"overrides": [ |
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 believe that the package-lock.json is created using an indentation of 2 spaces by default. Do we want to add the package-lock.json file to .prettierignore file so that it doesn't override the default formatting?
@mahesh0618 , when you run |
Includes following updates,