bitwarden / bitwarden/passwordless-client-js

Linting is not properly working

Open
#55 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
65
Forks
20
PR merge metrics
No merged PRs in 30d

Description

### Steps To Reproduce

Linting is not properly working, was introduced in #45. It also appears be trying to lint the files in the 'dist' folder.

### Expected Result

Only lint Typescript files, not the files/bundles generated by rollup.

### Actual Result

`npm run format` lints all files with `*.js` and `*.vue` extensions.

### Screenshots or Videos

n/a

Contributor guide

Open the contributing guide

Research direction

Start with the configuration and command behind `npm run format`, then trace why its file patterns include JavaScript and Vue files under `dist`. Done means formatting lints only TypeScript source files and excludes Rollup-generated bundles in `dist`.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.