redhat-developer / redhat-developer/vscode-yaml

Feature request: Option to flag trailing spaces/whitespace, to detect yamllint trailing-spaces

Open
#1,140 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
830
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

Is your enhancement related to a problem? Please describe.

Keep getting build errored due to yamllint stage: 'trailing spaces'

Describe the solution you would like

An option to enable detection/flagging of trailing spaces / whitespace

Describe alternatives you have considered

Find regex \s$

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported yamllint trailing-spaces failure and the proposed \s$ regex, then locate the VS Code YAML extension entry point and relevant tests. Done means an option can enable detection and flagging of trailing spaces or whitespace, with coverage for the requested case.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, yaml
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.