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

Integrate dprint-plugin-exec to use rubocop as a simple formatter #317

Merged
merged 4 commits into from
Jan 24, 2023

Conversation

kachick
Copy link
Owner

@kachick kachick commented Jan 24, 2023

Update #314 with https://github.com/dprint/dprint-plugin-exec

Much more simpler 🎉

"exec": {
"associations": ["**/*.{rb,gemspec,rake}", "Rakefile", "Gemfile", "Steepfile"],
"rubocop": "bundle exec rubocop --autocorrect --stdin {{file_path}} --stderr",
"rubocop.associations": "**/**"
Copy link
Owner Author

Choose a reason for hiding this comment

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

@@ -3,11 +3,16 @@
},
"markdown": {
},
"exec": {
"associations": ["**/*.{rb,gemspec,rake}", "Rakefile", "Gemfile", "Steepfile"],
"rubocop": "bundle exec rubocop --autocorrect --stdin {{file_path}} --stderr",
Copy link
Owner Author

Choose a reason for hiding this comment

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

Using servermode makde faster, However closing vscode does not kill it. So it should be done in another PR or commit.

@kachick kachick merged commit 6eea452 into main Jan 24, 2023
@kachick kachick deleted the drpint-plugin-exec branch January 24, 2023 08:57
kachick added a commit that referenced this pull request Jan 24, 2023
kachick added a commit that referenced this pull request Jan 24, 2023
kachick added a commit to kachick/ruby-gem-template that referenced this pull request Feb 7, 2023
kachick added a commit to kachick/ruby-gem-template that referenced this pull request Feb 7, 2023
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.

1 participant