1
0
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:
Krishna Acondy
2021-03-24 19:37:51 +00:00
parent c88aa8b3f6
commit c92630a8f9
13 changed files with 237 additions and 18 deletions

View File

@@ -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))