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

Default to sun_check rules when -c ... is omitted #2

Closed
apennebaker opened this issue Sep 24, 2013 · 1 comment
Closed

Default to sun_check rules when -c ... is omitted #2

apennebaker opened this issue Sep 24, 2013 · 1 comment

Comments

@apennebaker
Copy link

It would be nice if checkstyle worked out of the box without requiring explicit -c <config.xml> each time.

@romani
Copy link
Member

romani commented Oct 1, 2013

http://checkstyle.sourceforge.net/cmdline.html

sun_checks.xml is just a example of configuration, checkstyle-5.6-all.jar could be located out of default layout that user get after unzip, but behavior have to be simple and consistent in any scenario.

16:21 ~/Temp/1/checkstyle-5.6 $ ls -la 
total 4112
drwxrwxr-x 4 rivanov rivanov    4096 Dec 31  1969 .
drwxrwxr-x 3 rivanov rivanov    4096 Oct  1 16:20 ..
-rw-r--r-- 1 rivanov rivanov  445288 Sep 21  2010 antlr-2.7.7.jar
-rw-r--r-- 1 rivanov rivanov 2057092 Sep 18  2012 checkstyle-5.6-all.jar
-rw-r--r-- 1 rivanov rivanov  651155 Sep 18  2012 checkstyle-5.6.jar
-rw-r--r-- 1 rivanov rivanov    7798 Sep  6  2011 checkstyle_checks.xml
-rw-r--r-- 1 rivanov rivanov  206711 Sep 21  2010 commons-beanutils-core-1.8.3.jar
-rw-r--r-- 1 rivanov rivanov   41123 Sep 21  2010 commons-cli-1.2.jar
-rw-r--r-- 1 rivanov rivanov   60686 Aug 26  2009 commons-logging-1.1.1.jar
drwxrwxr-x 6 rivanov rivanov    4096 Sep 30  2010 contrib
-rw-r--r-- 1 rivanov rivanov  639592 Sep 15  2010 google-collections-1.0.jar
-rw-r--r-- 1 rivanov rivanov    2025 Sep 30  2010 import-control.xml
-rw-r--r-- 1 rivanov rivanov    1031 Sep 18  2012 java.header
-rw-r--r-- 1 rivanov rivanov   26934 Sep 30  2010 LICENSE
-rw-r--r-- 1 rivanov rivanov   11560 Sep 30  2010 LICENSE.apache20
-rw-r--r-- 1 rivanov rivanov    1364 Sep 30  2010 README
-rw-r--r-- 1 rivanov rivanov    1261 Sep 30  2010 RIGHTS.antlr
drwxrwxr-x 5 rivanov rivanov    4096 Sep 18  2012 site
-rw-r--r-- 1 rivanov rivanov    6861 Sep  6  2012 sun_checks.xml
-rw-r--r-- 1 rivanov rivanov    2124 Oct 17  2010 suppressions.xml

I mark issue as closed , with "Want fix", you can start discussion thread in mail-list to get support from other admins.

@romani romani closed this as completed Oct 1, 2013
MEZk referenced this issue in MEZk/checkstyle Dec 16, 2015
rnveach added a commit that referenced this issue Dec 16, 2016
akki111singh added a commit to akki111singh/checkstyle that referenced this issue Mar 18, 2020
# This is the 1st commit message:

Issue checkstyle#7725: Update AbstractChecks to log DetailAST

# This is the commit message checkstyle#2:

minor: fix missed space violation from JavadocMissingWhitespaceAfterAsteriskCheck
akki111singh added a commit to akki111singh/checkstyle that referenced this issue Mar 18, 2020
# This is the 1st commit message:

Merge branch 'master' of https://github.com/checkstyle/checkstyle into gsoc-2-issue

# This is the commit message checkstyle#2:

minor: remove duplicate violation from AvoidStaticImport input

# This is the commit message checkstyle#3:

Issue checkstyle#7744: Update AbstractChecks to log DetailAST - MissingCtor

# This is the commit message checkstyle#4:

Issue checkstyle#7749: Update AbstractChecks to log DetailAST - MissingSwitchDefault
nrmancuso referenced this issue in nrmancuso/checkstyle Jun 1, 2020
# This is the 1st commit message:

Begin work on initial record support

# The commit message #2 will be skipped:

# teseting for record support
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

No branches or pull requests

2 participants