
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
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 🩺
The npm package lint-time receives a total of 46 weekly downloads. As such, lint-time popularity was classified as not popular.
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
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

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.