|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
541 bytes
|
| Line | |
|---|
| 1 | # eslint-plugin-import/memo-parser
|
|---|
| 2 |
|
|---|
| 3 | ## NOTE
|
|---|
| 4 |
|
|---|
| 5 | 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.
|
|---|
| 6 |
|
|---|
| 7 | **Not recommended for use at this time!**
|
|---|
| 8 |
|
|---|
| 9 | This parser is just a memoizing wrapper around some actual parser.
|
|---|
| 10 |
|
|---|
| 11 | To configure, just add your _actual_ parser to the `parserOptions`, like so:
|
|---|
| 12 |
|
|---|
| 13 | ```yaml
|
|---|
| 14 | parser: eslint-plugin-import/memo-parser
|
|---|
| 15 | # parser: babel-eslint
|
|---|
| 16 |
|
|---|
| 17 | parserOptions:
|
|---|
| 18 | parser: babel-eslint
|
|---|
| 19 | sourceType: module
|
|---|
| 20 | ecmaVersion: 6
|
|---|
| 21 | ```
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.