Code Monkey home page Code Monkey logo

codestyle's People

Contributors

bbranan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

codestyle's Issues

Enable JavadocMethod by default for public methods

While not all projects can immediately achieve this, we should enable JavadocMethod for all public methods, as this is ideally something that all our projects should strive for:

https://github.com/duraspace/resources/blob/master/checkstyle/duraspace-checkstyle.xml#L97-L100

Projects that currently cannot achieve this can simply add JavadocMethod to their suppressions file. (Optionally, we could add this config to our default suppressions, either uncommented or commented out)

Release / Version this module as a Maven dependency

Ideally, this repo should be released/version via Maven (e.g. as duraspace-codestyle), so that it can be pulled in as an official dependency of projects that use it.

See, for example, how Fedora currently pulls in their Checkstyle rules via a separate fcrepo-build-tools Maven dependency. See their maven-checkstyle-plugin configuration here: https://github.com/fcrepo4/fcrepo4/blob/4.7.3-maintenance/fcrepo-parent/pom.xml#L224

Currently, our recommendation is to configure maven-checkstyle-plugin to point at an external checkstyle.xml stored in GitHub (see <configLocation> setting). https://github.com/duraspace/codestyle#checkstyle

While this "works", it's less ideal as it means that external checkstyle.xml file needs to be downloaded each time you run the maven-checkstyle-plugin (i.e. there's no local caching mechanism). It also means that if that GitHub URL structure were to change (or GitHub was temporarily unavailable or you were working offline), the checkstyle process would immediately fail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.