File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 13
13
14
14
// it’s mostly private, but useful for tools like `eslint-mdx`.
15
15
export { Configuration } from './lib/configuration.js'
16
+ export { Ignore } from './lib/ignore.js'
16
17
17
18
export { engine } from './lib/index.js'
Original file line number Diff line number Diff line change 19
19
* [ API] ( #api )
20
20
* [ ` engine(options, callback) ` ] ( #engineoptions-callback )
21
21
* [ ` Configuration ` ] ( #configuration )
22
+ * [ ` Ignore ` ] ( #ignore )
22
23
* [ ` Completer ` ] ( #completer )
23
24
* [ ` Callback ` ] ( #callback )
24
25
* [ ` ConfigResult ` ] ( #configresult )
@@ -150,7 +151,7 @@ function done(error, code) {
150
151
151
152
## API
152
153
153
- This package exports the identifiers [ ` Configuration ` ] [ api-configuration ] and
154
+ This package exports the identifiers [ ` Configuration ` ] [ api-configuration ] , [ ` Ignore ` ] [ api-ignore ] and
154
155
[ ` engine ` ] [ api-engine ] .
155
156
There is no default export.
156
157
@@ -175,6 +176,13 @@ Internal class to load configuration files.
175
176
176
177
Exposed to build more complex integrations.
177
178
179
+ ### ` Ignore `
180
+
181
+ Internal class to load ignore file for checking
182
+ whether this file should be ignored.
183
+
184
+ Exposed to build more complex integrations.
185
+
178
186
###### Parameters
179
187
180
188
* ` options ` (subset of [ ` Options ` ] [ api-options ] , required)
@@ -1595,6 +1603,8 @@ abide by its terms.
1595
1603
1596
1604
[api-file-set]: #fileset
1597
1605
1606
+ [api-ignore]: #ignore
1607
+
1598
1608
[api-options]: #options
1599
1609
1600
1610
[api-preset]: #preset
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ test('engine', async function (t) {
10
10
await t . test ( 'should expose the public api' , async function ( ) {
11
11
assert . deepEqual ( Object . keys ( await import ( 'unified-engine' ) ) . sort ( ) , [
12
12
'Configuration' ,
13
+ 'Ignore' ,
13
14
'engine'
14
15
] )
15
16
} )
You can’t perform that action at this time.
0 commit comments