mirror of
https://github.com/nodejs/node.git
synced 2025-05-07 19:56:48 +00:00

Greatly simplify how ESLint and its plugins are installed. PR-URL: https://github.com/nodejs/node/pull/53413 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
9 lines
143 B
JavaScript
9 lines
143 B
JavaScript
'use strict'
|
|
|
|
var scan = require('./scan')
|
|
var parse = require('./parse')
|
|
|
|
module.exports = function (source) {
|
|
return parse(scan(source))
|
|
}
|