You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Jean Helou (JIRA)" <se...@james.apache.org> on 2018/08/28 10:49:00 UTC
[jira] [Created] (JAMES-2535) Add declaration order checks to
checkstyle
Jean Helou created JAMES-2535:
---------------------------------
Summary: Add declaration order checks to checkstyle
Key: JAMES-2535
URL: https://issues.apache.org/jira/browse/JAMES-2535
Project: James Server
Issue Type: Task
Reporter: Jean Helou
Currently checkstyle doesn't check the declaration order of various class components. This was made quite clear by [https://github.com/linagora/james-project/pull/1681#discussion_r212547046]
The default checkstyle rules do not include a rule which would make such a check possible but the incubator project for checkstyle ([http://sevntu-checkstyle.github.io/sevntu.checkstyle/)]
I tried to add it but finding the correct order is not trivial and is quickly escaping the scope of my current goal hence the issue.
Note that configuring this checkstyle for [intellij|https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/How-to-use-SevNTU-Checkstyle-in-Intellij-IDEA] and [netbeans|https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/How-to-use-SevNTU-Checkstyle-in-NetBeans] requires some additional efforts. Eclipse can be made to use a specfic checkstyle plugin
Note that configuring this checkstyle for [sonar|[https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/How-to-integrate-sevntu-checks-into-SonarQubeTM-(user's-guide)]] requires some additional efforts
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org