checkstyle / eclipse-cs

The Eclipse Checkstyle plug-in integrates the Checkstyle Java code auditor into the Eclipse IDE. The plug-in provides real-time feedback to the user about violations of rules that check for coding style and possible error prone code constructs.
https://checkstyle.org/eclipse-cs
GNU Lesser General Public License v2.1
97 stars 56 forks source link

Prefer `checkstyle.xml` from project folder #302

Open BuZZ-dEE opened 3 years ago

BuZZ-dEE commented 3 years ago

If the project (root) folder contains a checkstyle.xml file, automatically prefer that configuration over the global check configurations. "Automatically" so that the user does not need to setup anything despite the installation of the Eclipse Checkstyle plugin.

If the Eclipse Checkstyle plugin is installed in Eclipse and the project root folder contains a checkstyle.xml file, then the Eclipse Checkstyle plugin should automatically load the checkstyle rules from the file to check the code in Eclipse for the project that has the file.

romani commented 3 years ago

I do not understand what you try to explain to us. Please be more specific.

BuZZ-dEE commented 3 years ago

@romani I updated the issue. Do you have any further questions?

romani commented 3 years ago

Thanks a lot, can you show bunch of projects that follow this pattern, to let us recognize this trend and support it.

I do not remember this trend.

I even always try to hide tools configs to inner folder to keep root for more critical part

Example: https://github.com/checkstyle/checkstyle/ see folder config with a lot configs for different tools/plugins.