mirror of
https://github.com/sasjs/lint.git
synced 2026-01-10 22:10:06 +00:00
feat(path-lint): add support for linting file names, add lint config schema
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { lint } from './lint'
|
||||
import { lintText } from './lint'
|
||||
|
||||
/**
|
||||
* Example which tests a piece of text with all known violations.
|
||||
@@ -46,4 +46,4 @@ const text = `/**
|
||||
%mend;
|
||||
`
|
||||
|
||||
lint(text).then((diagnostics) => console.table(diagnostics))
|
||||
lintText(text).then((diagnostics) => console.table(diagnostics))
|
||||
|
||||
Reference in New Issue
Block a user