[Feature Request] Configure properties in code-analyzer.yml

Open
#1,975 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
cli

Research direction

Start by tracing how the code-analyzer CLI reads code-analyzer.yml and references XML files for rule properties. Define the inline property configuration for first- and third-party rules, then verify that existing XML-based configuration remains supported.

Written by the indexing model from the issue text.

Description

Need more info
Product Area

The "code-analyzer" CLI

Your Need or Problem

You have to create one or more .xml files to customise the properties of rules, then refer to those .xml files from code-analyzer.yml which is overly complicated.

Your Desired Solution

When customising rule properties, allow us to do it from within code-analyzer.yml helping us keep all project related configuration in the one file, whilst more easily adding 1st and 3rd party rulesets and configuring them.

Alternatives Considered

No response

Additional Context (Screenshots, Files, etc)

No response

Workaround

No response

Urgency

Low

Dominant language
TypeScript
Stars
240
Forks
52
Avg merge
1d 23h
Merged PRs (30d)
5

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.

More from forcedotcom/code-analyzer

All issues in forcedotcom/code-analyzer

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.