cibernox / cibernox/git-repo-version

Fails eslint node/no-unpublished-require validation

Open
#21 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I noticed this in a project recently, the rule is documented here:
https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-unpublished-require.md

The issue seems clear to me that its simply missing both the the below requirements:

### Rule Details
If a source code file satisfies all of the following conditions, the file is *published*.

- "files" field of package.json includes the file or "files" field of package.json does not exist.
- .npmignore does not include the file.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with package.json and .npmignore, then compare the repository's publishing rules with the linked no-unpublished-require documentation and the ESLint report. Done means the reported validation failure is resolved and the rule passes for the repository.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.