You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying out the CLI and when reading the documentation, I interpreted that if I used the --noConfigFiles flag, I would be able to run the tool (with default configuration/rules) in a project where I don't yet have a configuration file. Looking at the CLI implementation, this flag appears to be ignored. What is the expected behavior for this flag? Is this a bug?
Environment
npm-package-json-lint: 7.1.0
npm: 9.8.1
Node: v18.18.2
Output
Default
npx npmPkgJsonLint .
Output
No npm-package-json-lint configuration found.
/Users/joaopalmeiro/Documents/GitHub/prettier-config/package.json
--noConfigFiles flag
npx npmPkgJsonLint --noConfigFiles .
or
npx npmPkgJsonLint . --noConfigFiles
Output
No npm-package-json-lint configuration found.
/Users/joaopalmeiro/Documents/GitHub/prettier-config/package.json
The text was updated successfully, but these errors were encountered:
joaopalmeiro
changed the title
Unexpected behavior with the --noConfigFiles` flag
Unexpected behavior with the --noConfigFiles flag
Feb 22, 2024
Hi! 👋
I was trying out the CLI and when reading the documentation, I interpreted that if I used the
--noConfigFiles
flag, I would be able to run the tool (with default configuration/rules) in a project where I don't yet have a configuration file. Looking at the CLI implementation, this flag appears to be ignored. What is the expected behavior for this flag? Is this a bug?Environment
Output
Default
npx npmPkgJsonLint .
Output
--noConfigFiles
flagnpx npmPkgJsonLint --noConfigFiles .
or
npx npmPkgJsonLint . --noConfigFiles
Output
The text was updated successfully, but these errors were encountered: