1 | # eslint-plugin-import/memo-parser
|
2 |
|
3 |
|
4 | ## NOTE!
|
5 |
|
6 | This used to improve performance, but as of ESLint 5 and v2 of this plugin, it seems to just consume a bunch of memory and slightly increase lint times.
|
7 |
|
8 | **Not recommended for use at this time!**
|
9 |
|
10 |
|
11 | This parser is just a memoizing wrapper around some actual parser.
|
12 |
|
13 | To configure, just add your _actual_ parser to the `parserOptions`, like so:
|
14 |
|
15 | ```yaml
|
16 | parser: eslint-plugin-import/memo-parser
|
17 | # parser: babel-eslint
|
18 |
|
19 | parserOptions:
|
20 | parser: babel-eslint
|
21 | sourceType: module
|
22 | ecmaVersion: 6
|
23 | ```
|