js-dxtools / js-dxtools/webpack-validator

Strict mode - Warn if a loader has only an `exclude` or no `include/exclude` at all

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

Nobody has claimed this yet.

enhancement help wanted
Dominant language
JavaScript
Stars
290
Forks
23
PR merge metrics
No merged PRs in 30d

Description

include is a sane default (whitelist over blacklist). exclude is sketchier (easy to match too much). Leaving include/exclude out together isn't a good idea.

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.

Research direction

No files or tests are named. Locate the loader-validation entry point and existing strict-mode handling, then verify that a loader with only exclude, or with neither include nor exclude, produces the intended warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.