UNPKG
@northbrook/eslint
Version:
latest (2.0.1)
2.0.1
2.0.0
1.2.1
1.2.0
1.1.1
1.1.0
Northbrook Plugin for ESlint
github.com/northbrookjs/eslint
northbrookjs/eslint
@northbrook/eslint
/
src
/
plugin.js
8 lines
(5 loc)
•
244 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
{ command, alias, description, each }
from
'northbrook'
import
{ runLint }
from
'./runLint'
export
const
plugin =
command
(
alias
(
'eslint'
),
description
(
'Lint your code with ESlint'
))
each
(plugin, runLint).
catch
(
() =>
process.
exit
(
1
))