File tree 3 files changed +7
-12
lines changed
3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
Original file line number Diff line number Diff line change 4
4
"rules" : {
5
5
"no-dead-link" : {
6
6
"ignoreRedirects" : true ,
7
- "checkRelative" : false
7
+ "checkRelative" : false ,
8
+ "ignore" : [" https://learnmeabitcoin.com/**" ]
8
9
}
9
10
}
10
11
}
Original file line number Diff line number Diff line change @@ -6,22 +6,14 @@ import { globSync } from 'glob';
6
6
const mdFiles = globSync ( '**/*.md' , {
7
7
ignore : [
8
8
'**/node_modules/**' ,
9
+ 'apps/docs/src/api/**' , // generated api
9
10
'**/CHANGELOG.md' ,
10
11
'apps/demo-nextjs/**' ,
11
12
'apps/demo-react-cra/**' ,
12
13
'apps/demo-react-vite/**' ,
13
14
'templates/**' ,
14
15
] ,
15
16
} ) ;
16
- const filesWithLintErrors : string [ ] = [ ] ;
17
- mdFiles . forEach ( ( file ) => {
18
- try {
19
- execSync ( `pnpm textlint ${ file } ` ) . toString ( ) ;
20
- } catch ( error ) {
21
- filesWithLintErrors . push ( file ) ;
22
- }
23
- } ) ;
24
- if ( filesWithLintErrors . length > 0 ) {
25
- process . exit ( 1 ) ;
26
- }
17
+
18
+ execSync ( `pnpm textlint ${ mdFiles . join ( ' ' ) } --parallel --debug` , { stdio : 'inherit' } ) ;
27
19
} ) ( ) ;
You can’t perform that action at this time.
0 commit comments