kysect / kysect/Configuin

Remove `<p class="markdown-alert-title">` from generated template

Open
#128 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

task
Dominant language
C#
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Sample from generated template:

## Use collection expression for Create (IDE0303)
## This rule flags places where a Create() method or a similar method that's designated as the collection construction method (using the System.Runtime.CompilerServices.CollectionBuilderAttribute attribute) is used to initialize a collection and offers to replace it with a collection expression ([...]).
## Create() methods are common for the immutable collections, for example, ImmutableArray.Create(1, 2, 3).
## <p class="markdown-alert-title"><svg viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg>Note</p>
## This rule requires more recent versions of the immutable APIs (for example, System.Collections.Immutable), which opt into the collection-expression pattern.
## // Code with violations.

Contributor guide

No contributing guide indexed for this repository

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

Use the issue's sample as the expected-output reference; first search the repository for the generator entry point that produces the shown template and identify where the markdown alert HTML is emitted. Confirm the generated template no longer contains the markdown-alert-title fragment while preserving the surrounding rule text.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.