8000 2.3.0: difficulty linting individual file(s) · Issue #291 · loeffel-io/ls-lint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
2.3.0: difficulty linting individual file(s) #291
Open
@bantic

Description

@bantic

I'm using v2.3.0 and it seems like even if I pass it an individual file on the command-line, it always lints all files.

$ node_modules/.bin/ls-lint --version
ls-lint v2.3.0
go go1.24.1 X:nocoverageredesign

When I run without any argument, it looks at all the files:

$ node_modules/.bin/ls-lint --debug
...
statistics
-----------------------------
time: 6.087333s
paths: 8420
file skips: 48
dirs: 1181
dir skips: 32
=============================

When I run it with a single file path, the statistics still print the same statistics output:

$ node_modules/.bin/ls-lint --debug path/to/single/file.js
...
statistics
-----------------------------
time: 5.83925s
paths: 8420
file skips: 48
dirs: 1181
dir skips: 32
=============================

Am I using it incorrectly? I was expecting the command with a single file path to execute basically instantaneously.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0