dbstyleguidechecker

Creator: coderz1093

Last updated:

0 purchases

dbstyleguidechecker Image
dbstyleguidechecker Images

Languages

Categories

Add to Cart

Description:

dbstyleguidechecker

dbstyleguidechecker #
A code style violations script for dart, flutter and other.
Overview #
A command-line tool that help you verify a code style against a project.
It's help you automate your code style check on a vcs pull requests, example: github.
license.

Installation #
For usage everywhere in the system.
pub global activate dbstyleguidechecker
copied to clipboard
For usage only in the current package.
pub activate dbstyleguidechecker
copied to clipboard


Usage #
dbstyleguidechecker --project-type [project type] [local project directory]
copied to clipboard
Options:
--code-style specify the code style guide to use (defaults to "analysis_options.yaml")
--project-type specify the type of project to analyze, default to "dart", available options are ["dart", "flutter"]
--reporter-type specify the reporter type, default to 'console', available are ['console', 'file', 'github']
--vcs-url repository to push code style violations on the pull request (currently supported only for reporter type
github).
--vcs-pull-request-id to push code style violations on (currently supported only for reporter type github).
--vcs-access-token api access token used to push code style violations on pull request (currently supported only for
reporter type github).
--reporter-output-file where code violation will be reported (currently supported only for reporter type file).
--help print help message


Example #
Use code style from different location then current project or different file name.
dbstyleguidechecker --project-type dart --code-style [path to code style file] example
copied to clipboard
Report code style violations to console.
dbstyleguidechecker --project-type dart example
copied to clipboard
Report code style violations to github
dbstyleguidechecker --project-type dart --reporter-type github --vcs-url https://github.com/bitsydarel/dbstyleguidechecker --vcs-pull-request-id [pull-request-id] --vcs-access-token [github-api-access-token] example
copied to clipboard
Report code style violations to file.
dbstyleguidechecker --project-type dart --reporter-type file --reporter-output-file example/log.txt example
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.