This commit is contained in:
Emerson Laurentino 2018-11-07 16:36:11 -03:00
parent 22a1681e11
commit de38cfc510

View File

@ -38,7 +38,7 @@ aren't supported by ESLint. When using this plugin, ESLint is monkeypatched and
transformed into code that ESLint can understand. All location info such as line numbers, transformed into code that ESLint can understand. All location info such as line numbers,
columns is also retained so you can track down errors with ease. columns is also retained so you can track down errors with ease.
Basically `babel-eslint` exports an [`index.js`](/index.js) that a linter can use. Basically `babel-eslint` exports an [`index.js`](/lib/index.js) that a linter can use.
It just needs to export a `parse` method that takes in a string of code and outputs an AST. It just needs to export a `parse` method that takes in a string of code and outputs an AST.
## Usage ## Usage