
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
lint-time will run your linters of your choice against the files of your choice (like
lint-staged). It only checks staged files - i.e. files that have changed since the previous
commit.
It aims to achieve the same goal with a far smaller footprint.
When used with simple-git-hooks or
husky, it can lint your commits and block bad commits.
Why not just use lint-staged instead?
lint-time | lint-staged |
|---|---|
| 0 deps | 60 nested deps |
This package is available from the npm registry.
npm install lint-time
npx lint-time
Exports a single function:
export declare const lintTime: () => Promise<boolean>;
lintTime() will not throw if the checks fail, but will throw if there's something unexpected with
your system (e.g. a malformed package.json).
import { lintTime } from "lint-time";
lintTime().then((wasSuccessful) => {
console.log({ wasSuccessful });
});
Supports JavaScript + TypeScript.
Can also be imported via require("lint-time").
GitHub issues / PRs welcome.
Dev environment requires:
Apache-2.0
FAQs
Lint your staged git files 🩺
We found that lint-time demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.