Blame view

node_modules/babel-eslint/lib/parse-with-patch.js 200 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
  "use strict";
  
  var parse = require("./parse");
  var patchEscope = require("./patch-eslint-scope");
  
  module.exports = function(code, options) {
    patchEscope(options);
    return parse(code, options);
  };