-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: make this plugin can run on non-maven project (wihtout pom.xml) #56
base: main
Are you sure you want to change the base?
Conversation
77b1456
to
d8ecbdb
Compare
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.
The idea and implementation look good in themselves. Two details are missing from my point of view:
-
Please change the commit message to what the PR is actually implementing and please use proper English spelling.
-
Please add an integration test in
EditorConfigMojosTest
.
Sorry for my poor english, I'll check if I have the time:) |
Sorry, please do not take me wrong. The main issue is that the commit message speaks of two alternatives out of which only one is implemented. I mean, For spelling, using an in-browser spell checker would be enough to catch things like |
editorconfig-maven-plugin/src/main/java/org/ec4j/maven/AbstractEditorconfigMojo.java
Outdated
Show resolved
Hide resolved
b510c3d
to
c3662c9
Compare
make this plugin goals can run on any project which has .editorconfig on project basedir such as with -Deditorconfig.basedir ``` mvn org.ec4j.maven:editorconfig-maven-plugin:0.1.x:format -Deditorconfig.includes=**/*.xml -e -Deditorconfig.encoding=UTF-8 -Dproject.basedir=/any_dir_with_editorconfig ``` or without editorconfig.basedir means on current dir ``` mvn org.ec4j.maven:editorconfig-maven-plugin:0.1.x:format -Deditorconfig.includes=**/*.xml -e -Deditorconfig.encoding=UTF-8 ``` or
make this plugin goals run on any project which has .editorconfig on project basedir
such as with -Deditorconfig.basedir
or
without editorconfig.basedir means on current dir
or