
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
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 52 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
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.