google / google/wireit

Warn if `files` doesn't resolve to a file

Open
#1,058 6 comments 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.4k
Forks
128
Avg merge
4d 10h
Merged PRs (30d)
4

Description

`files` leaves room for subtle mistakes that are hard to catch at review time, such as:
```js
"files": [
"vite.config.js", // maybe the actual extension is ts
"../../vite.config.common.ts" // maybe there's a wrong number of ../s
```

If a literal path is specified that doesn't match an actual file, Wireit should throw an error.

See also #215

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.