revere.dev/safelock/dashboard/node_modules/eslint-plugin-import/memo-parser
Brandon Hall 87bad2254c Remi a skid 2024-07-01 20:55:25 +01:00
..
LICENSE Remi a skid 2024-07-01 20:55:25 +01:00
README.md Remi a skid 2024-07-01 20:55:25 +01:00
index.js Remi a skid 2024-07-01 20:55:25 +01:00

README.md

eslint-plugin-import/memo-parser

NOTE

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.

Not recommended for use at this time!

This parser is just a memoizing wrapper around some actual parser.

To configure, just add your actual parser to the parserOptions, like so:

parser: eslint-plugin-import/memo-parser
# parser: babel-eslint

parserOptions:
  parser: babel-eslint
  sourceType: module
  ecmaVersion: 6