File tree 3 files changed +12
-7
lines changed
3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 10
10
fail-fast : false
11
11
matrix :
12
12
node-version :
13
+ - 20
13
14
- 18
14
15
- 16
15
- - 14
16
16
os :
17
17
- ubuntu-latest
18
18
- macos-latest
Original file line number Diff line number Diff line change 1
- import { Options as GlobbyOptions } from 'globby' ;
1
+ import { type Options as GlobbyOptions } from 'globby' ;
2
2
3
- export interface ProgressData {
3
+ export type ProgressData = {
4
4
/**
5
5
Deleted files and directories count.
6
6
*/
@@ -15,9 +15,9 @@ export interface ProgressData {
15
15
Completed percentage. A value between `0` and `1`.
16
16
*/
17
17
readonly percent : number ;
18
- }
18
+ } ;
19
19
20
- export interface Options extends GlobbyOptions {
20
+ export type Options = {
21
21
/**
22
22
Allow deleting the current working directory and outside.
23
23
@@ -62,7 +62,7 @@ export interface Options extends GlobbyOptions {
62
62
```
63
63
*/
64
64
readonly onProgress ?: ( progress : ProgressData ) => void ;
65
- }
65
+ } & GlobbyOptions ;
66
66
67
67
/**
68
68
Delete files and directories using glob patterns.
Original file line number Diff line number Diff line change 64
64
"make-dir" : " ^3.1.0" ,
65
65
"tempy" : " ^3.0.0" ,
66
66
"tsd" : " ^0.22.0" ,
67
- "xo" : " ^0.50 .0"
67
+ "xo" : " ^0.56 .0"
68
68
},
69
69
"ava" : {
70
70
"serial" : true ,
71
71
"workerThreads" : false
72
+ },
73
+ "xo" : {
74
+ "rules" : {
75
+ "unicorn/prefer-string-replace-all" : " off"
76
+ }
72
77
}
73
78
}
You can’t perform that action at this time.
0 commit comments