Create tools/update-babel-eslint.sh script and execute it to do the first installation of the package. Update tools/license-builder.sh and execute it to add babel-eslint's license to our LICENSE file. PR-URL: https://github.com/nodejs/node/pull/17820 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
9 lines
200 B
JavaScript
9 lines
200 B
JavaScript
"use strict";
|
|
|
|
var parse = require("./parse");
|
|
var patchEscope = require("./patch-eslint-scope");
|
|
|
|
module.exports = function(code, options) {
|
|
patchEscope(options);
|
|
return parse(code, options);
|
|
};
|