Blame view

node_modules/eslint-plugin-import/memo-parser/README.md 544 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  # 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:
  
  ```yaml
  parser: eslint-plugin-import/memo-parser
  # parser: babel-eslint
  
  parserOptions:
    parser: babel-eslint
    sourceType: module
    ecmaVersion: 6
  ```