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
Remove some hardcoding of specifics so Checkstyle can be more Extensible #11604
Comments
I have worries to become a base library for some other tools/project. They will force us to have too abstract model extend our contract with others. I would rather let all that tools be less dependent on us and be able to resolve their problems without forcing us to extend API. I ok with some changes, but let's not think that we need to be friendly to others. We will break all contracts and move in direction that we need. Our history shows us that we do not have time to think and work on our API strategy :( . |
…dentification" This reverts commit 89ece36.
I am tired of Checkstyle limiting itself to mainly Java files. I am looking for checkstyle to support more different type of unique files (XML, Properties, etc..) by extending it at https://github.com/rnveach/checkstyle-extras .
In the process of setting this process up and starting it, it started to become apparent how limited Checkstyle was making itself. Configuration isn't really the issue, as it already supports 3rd party classes. It doesn't mind if a new walker or such is being added. But there are specific other, more newer additions, that is hindering the process and causing conflicts or extra code duplication.
The following (so far) is a list I have identified and looking to have loosen up so Checkstyle can support more.
Checker
orTreeWalker
and need some minor re-working to be able to override for newer "walkers ( Some reworking for test structures #11603 )AstTreeStringPrinter
and possibly out Walker modules .Checker
orTreeWalker
and has no idea of flexibility like configurations do.TreeWalker
specific and not flexible for other nodesabstract
ed out, to separate core functionality and walker specific functionality. This includes walkers, checks, xpath nodes, events, etc....I am looking for these areas to change, not functionally, but in a way that makes way for extensibility by either Checkstyle itself or 3rd parties.
The text was updated successfully, but these errors were encountered: