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

Init default settings/extensions for VSCode #569

Merged
merged 6 commits into from
Dec 19, 2023
Merged

Conversation

Splines
Copy link
Member

@Splines Splines commented Dec 6, 2023

This PR adds a default settings.json for common settings in the code editor VSCode the whole team might benefit from, e.g. common configurations for linters, word wrapping etc. (A future PR will introduce just for common command-line commands).

It also includes a file extensions.json with useful extensions, e.g. the language server for Ruby (so that Rubocop can run in the background and you get IntelliSense for Ruby code), the ESLint plugin to lint javascript etc.

The respective configuration for ESLint is provided in #568

For reviewers

You might want to merge #568 into your local copy of this branch, such that you have a valid ESLint configuration and can check that it auto-lints your files. (To reset afterwards, use git reset HEAD --hard # will erase ALL your local changes or something like this).

@Splines Splines self-assigned this Dec 6, 2023
Splines added a commit that referenced this pull request Dec 6, 2023
@Splines Splines marked this pull request as ready for review December 6, 2023 17:58
fosterfarrell9
fosterfarrell9 previously approved these changes Dec 13, 2023
Also do not use deprecated flags in new VSCode version.
Splines added a commit that referenced this pull request Dec 19, 2023
* Init new ESLint config to lint .js and .js.erb files

* Add default settings/extensions for VSCode

(maybe also something for another PR?)

* Add ESLint to CI/CD

* Introduce dummy changes to see ESLint in action

* Fix wrong fetch depth for checkout action

* Remove unnecessary "--" to pass arguments

* Outsource retrieval of changed files to reusable action

* Correct location of reusable action

* Fix further stuff related to GitHub action

* Clean up GitHub Actions files

* Cache global yarn cache directory

* Remove VSCode specific settings in favor of #569

* Revert "Introduce dummy changes to see ESLint in action"

This reverts commit cdf3473.
@Splines Splines mentioned this pull request Dec 19, 2023
1 task
@Splines Splines merged commit 6f66405 into mampf-next Dec 19, 2023
3 checks passed
@Splines Splines deleted the vscode/settings branch December 19, 2023 21:45
Splines added a commit that referenced this pull request Jan 6, 2024
* Init new ESLint config to lint .js and .js.erb files

* Add default settings/extensions for VSCode

(maybe also something for another PR?)

* Add ESLint to CI/CD

* Introduce dummy changes to see ESLint in action

* Fix wrong fetch depth for checkout action

* Remove unnecessary "--" to pass arguments

* Outsource retrieval of changed files to reusable action

* Correct location of reusable action

* Fix further stuff related to GitHub action

* Clean up GitHub Actions files

* Cache global yarn cache directory

* Remove VSCode specific settings in favor of #569

* Revert "Introduce dummy changes to see ESLint in action"

This reverts commit cdf3473.
Splines added a commit that referenced this pull request Jan 6, 2024
* Init default settings/extensions for VSCode

* Add further settings

* Improve "format on save" options

Also do not use deprecated flags in new VSCode version.

* Remove trailing comma in settings.json

* Enable ESLint as formatter
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