Skip to content
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

RFE: Ability to optionally pass flags directly to eclint #15

Open
zbeekman opened this issue Jul 1, 2019 · 0 comments
Open

RFE: Ability to optionally pass flags directly to eclint #15

zbeekman opened this issue Jul 1, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request in progress

Comments

@zbeekman
Copy link
Owner

zbeekman commented Jul 1, 2019

Describe the solution you'd like

eclint Accepts flags, mostly to override settings like indent_style, indent_size, etc. Add a mechanism to pass these directly. At the time of this writing eclint 2.8.1 supports the following flags:

Options:
  --help                          Show help                            [boolean]
  --version                       Show version number                  [boolean]
  --indent_style, -i              Indentation Style
                                            [choices: "tab", "space", undefined]
  --indent_size, -s               Indentation Size (in single-spaced characters)
                                                                        [number]
  --tab_width, -t                 Width of a single tabstop character   [number]
  --end_of_line, -e               Line ending file format (Unix, DOS, Mac)
                                        [choices: "lf", "crlf", "cr", undefined]
  --charset, -c                   File character encoding
    [choices: "latin1", "utf-8", "utf-8-bom", "utf-16le", "utf-16be", undefined]
  --trim_trailing_whitespace, -w  Denotes whether whitespace is allowed at the
                                  end of lines                         [boolean]
  --insert_final_newline, -n      Denotes whether file should end with a newline
                                                                       [boolean]
  --max_line_length, -m           Forces hard line wrapping after the amount of
                                  characters specified                  [number]
  --block_comment_start           Block comments start with             [string]
  --block_comment                 Lines in block comment start with     [string]
  --block_comment_end             Block comments end with               [string]

Describe alternatives you've considered

Doing nothing

@zbeekman zbeekman added the enhancement New feature or request label Jul 1, 2019
@zbeekman zbeekman self-assigned this Jul 1, 2019
@stale stale bot added the stale label Jul 22, 2019
@stale stale bot closed this as completed Jul 29, 2019
@lock lock bot added the outdated label Aug 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 28, 2019
Repository owner unlocked this conversation Sep 6, 2019
Repository owner deleted a comment from stale bot Sep 6, 2019
@zbeekman zbeekman reopened this Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress
Projects
None yet
Development

No branches or pull requests

1 participant