File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ changes:
1010    description: Added `--experimental-transform-types` flag. 
1111--> 
1212
13+ <!-- introduced_in=v23.6.0--> 
14+ 
1315>  Stability: 1.1 - Active development
1416
1517## Enabling  
Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ paths.forEach(async (path) => {
3434  const  fileContents  =  file . toString ( ) ; 
3535  const  result  =  await  linter . process ( file ) ; 
3636  const  isDifferent  =  fileContents  !==  result . toString ( ) ; 
37+ 
38+   if  ( path . startsWith ( 'doc/api/' ) )  { 
39+     if  ( ! fileContents . includes ( 'introduced_in' ) )  { 
40+       console . error ( `${ path }  ) ; 
41+       process . exitCode  =  1 ; 
42+     } 
43+   } 
44+ 
3745  if  ( format )  { 
3846    if  ( isDifferent )  { 
3947      fs . writeFileSync ( path ,  result . toString ( ) ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments