From fcb4eba0105bf798de5ec3db9adfd971c0e5316c Mon Sep 17 00:00:00 2001 From: Leo Youmu Date: Tue, 14 May 2024 16:16:41 +0800 Subject: [PATCH] docs(api/lint): add from keyword (#4084) --- docs/api/lint.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/lint.md b/docs/api/lint.md index fc50cff6c8..3f8b7cb439 100644 --- a/docs/api/lint.md +++ b/docs/api/lint.md @@ -45,7 +45,7 @@ lint(message: string, rules: {[ruleName: string]: Rule}, opts?: Options) => Prom ### Import ```js -import lint '@commitlint/lint'; +import lint from '@commitlint/lint'; ``` ### Usage without config