Comments (5)
Ahh yes! Good catch.
I'll also shoot out a new release for the cosmiconfig dependency in a bit.
from lockfile-lint.
About the config file loader - we're using cosmiconfig in the project and it appears that some naming conventions work, and others don't for some reason but I didn't check why.
Works:
.lockfile-lintrc
- a JSON filelockfile-lint.config.js
- a JavaScript file with module.exports like your above example
If you wanted to update the README for the project with this information and examples, I'm happy to merge the PR so it is more helpful to other users in the future.
As for the types - if you want to contribute that in a PR as well, I'm happy to land it.
from lockfile-lint.
I fixed my issue; it was a small error in the documentation. See #193.
Would you mind updating to the latest release of cosmiconfig: https://github.com/cosmiconfig/cosmiconfig/releases/tag/v9.0.0
It has support for the .config
folder.
Or provide a cli option to use a custom config location.
from lockfile-lint.
I'll also shoot out a new release for the cosmiconfig dependency in a bit.
@lirantal I noticed that cosmiconfig still is pinned on version 8, and not yet updated to v9.
from lockfile-lint.
Related Issues (20)
- Remove strict dependency on `debug` in lockfile-lint-api
- Ability to validate lockfileVersion HOT 7
- publishing doesn't seem to work anymore HOT 10
- Bare output option for basic environments HOT 1
- lockfile-lint failed parsing a URL object from given host value so using as is HOT 4
- Renovate PRs don't include release notes
- Bug: CLI Argument parsing typos invokes other validates HOT 10
- Usage in a monorepo with local packages HOT 1
- Potential issue with parsing HTTPS schemes HOT 1
- package@version exemptions for --validate-integrity HOT 6
- Is it possible to run this for all yarn.lock files? HOT 4
- Parsing empty `yarn.lock` fails HOT 2
- Does not support NPM lockfile version 3 HOT 10
- Mark results as OK, how? HOT 3
- --version results in error in 4.12.0 HOT 3
- Check integrity values for weak hashes HOT 5
- Support mechanism for exceptions on integrity value requirements to the CLI HOT 2
- Unsupported lockfile? HOT 2
- Feat: Validate missing integrity fields HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lockfile-lint.