Skip to content

Commit c678daa

Browse files
committedAug 31, 2022
Extensible Parsing with Plugins
* 41d7a4a Add @vuedoc/parser/test-utils * a09ca79 Update documentation * c74a33c Upgrade to @babel/[email protected] * dbe8856 Improve parsing of variable declarations * f105a22 Refactoring project files structure * 09b9782 Add options.resolver * f1b9b15 Add support of Vue Mixins * 00a6be3 Handle ImportDeclaration for composition fname * df51bf9 Add basic plugins system * 369f242 Use EventTarget as base class for the main VuedocParser * 2307c80 Improve documentation by adding more examples * 1fe62f6 Improve parsing performance by reducing parsers instances * f32ec52 Extensible Parsing with options.composition
2 parents 945a57f + e5dd465 commit c678daa

File tree

221 files changed

+16234
-5661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+16234
-5661
lines changed
 

‎.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
test/MethodParser.spec.js
22
test/issues.spec.js
3+
test/fake_node_modules
34
test/examples
5+
test/fixtures
46
test/tutorial
57
sample.js
68
esm/

‎.eslintrc.yaml

+14-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ env:
55
parser: '@typescript-eslint/parser'
66
plugins:
77
- import
8+
- unused-imports
89
- '@typescript-eslint'
910
extends:
1011
- eslint:recommended
@@ -155,11 +156,22 @@ rules:
155156
- anonymous: never
156157
named: never
157158
asyncArrow: always
159+
unused-imports/no-unused-imports: 'error'
160+
unused-imports/no-unused-vars:
161+
- warn
162+
- vars: all
163+
varsIgnorePattern: '^_'
164+
args: after-used
165+
argsIgnorePattern: '^_'
158166
overrides:
167+
- files:
168+
- '**/*.d.ts'
169+
rules:
170+
import/extensions: 'off'
171+
max-len: 'off'
172+
unused-imports/no-unused-vars: 'off'
159173
- files:
160174
- '**/test/**'
161-
env:
162-
jest: true
163175
rules:
164176
max-len: 'off'
165177
indent: 'off'

0 commit comments

Comments
 (0)