documentationjs / documentationjs/documentation

Unable to specify file extension for linting

Open
#1,021 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.8k
Forks
481
PR merge metrics
No merged PRs in 30d

Description

It seems to be impossible to lint `.mjs` files, as the `documentation lint` CLI does not accept the same extension options (`--require-extension mjs` and `--parse-extension mjs`) as the `documentation readme` CLI:

screen shot 2018-02-22 at 7 35 15 pm

Hardcoding the extension with `documentation lint src/index.mjs` doesn't output anything.

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.