long1eu / long1eu/upcode_ci

Config.ts generation causes linting error

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

Nobody has claimed this yet.

Dominant language
Dart
Stars
6
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Config.ts is generated with single quotes instead of double and without a trailing comma. This creates a failure when running npm run lint

/home/runner/work/crewlab/crewlab/backend/cloud-run/src/config.ts
Error:    2:26  error  Strings must use doublequote  quotes
Error:    3:22  error  Strings must use doublequote  quotes
Error:    4:18  error  Strings must use doublequote  quotes
Error:    5:16  error  Strings must use doublequote  quotes
Error:    6:19  error  Strings must use doublequote  quotes
Error:    7:23  error  Strings must use doublequote  quotes
Error:    8:25  error  Strings must use doublequote  quotes
Error:    9:11  error  Strings must use doublequote  quotes
Error:   10:8   error  Strings must use doublequote  quotes
Error:   11:[14](https://github.com/CrewLAB/crewlab/actions/runs/4247064285/jobs/7384657355#step:7:15)  error  Strings must use doublequote  quotes
Error:   12:20  error  Strings must use doublequote  quotes
Error:   13:12  error  Strings must use doublequote  quotes
Error:   14:8   error  Strings must use doublequote  quotes
Error:   14:14  error  Missing trailing comma        comma-dangle

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

Start by locating the generator for backend/cloud-run/src/config.ts and compare its output with the formatting rules exercised by npm run lint. Update the generation so strings use double quotes and the output includes a trailing comma, then rerun npm run lint to confirm the generated file passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.