Skip to content

Commit

Permalink
docs(api/lint): add from keyword (#4084)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saber2pr authored May 14, 2024
1 parent feefc48 commit fcb4eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fcb4eba

Please sign in to comment.