GithubHelp home page GithubHelp logo

vijay-duke / rewrite-checkstyle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openrewrite/rewrite-checkstyle

0.0 0.0 0.0 693 KB

Eliminate Checkstyle issues. Automatically.

License: Apache License 2.0

Shell 0.41% Java 62.51% Kotlin 37.08%

rewrite-checkstyle's Introduction

Logo

Eliminate Checkstyle issues. Automatically.

Build Status Apache 2.0 Maven Central

What is this?

This project implements a series of Rewrite recipes and visitors that checks for and auto-remediates common Checkstyle issues. The check and remediation go together, so it does not use Checkstyle for the checking, but rather performs an equivalent check according to the Checkstyle documentation. Each Rewrite Checkstyle rule provides the full set of options for the corresponding Checkstyle check.

This module parses your existing Checkstyle configuration, supporting all the same configuration options that the Checkstyle check supports. It does its own checking, matching exactly the Checkstyle definition of each rule, and where it finds violations, fixes them automatically!

Since all of the rules check for syntactic and not semantic patterns, there is no need to ensure that the ASTs evaluated by Rewrite Checkstyle are fully type-attributed (i.e. there is no need to provide the compile classpath to JavaParser).

The list of currently supported checks is here. Submit an issue to add support for additional checks. Even better, submit a PR!

How to use?

See the full documentation at docs.openrewrite.org.

rewrite-checkstyle's People

Contributors

jkschneider avatar sambsnyd avatar sofiabrittoschwartz avatar jlleitschuh avatar

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.