@@ -774,11 +774,27 @@ function verifyProject() {
774774 ensureFrontendDependencies ( ) ;
775775 run ( 'npm' , [ 'run' , 'format:check' ] , { cwd : srcDir } ) ;
776776 run ( 'npm' , [ 'run' , 'typecheck' ] , { cwd : srcDir } ) ;
777- run ( 'npm' , [ 'run' , 'lint' ] , { cwd : srcDir } ) ;
777+ lintProject ( ) ;
778778 run ( 'npm' , [ 'run' , 'test' ] , { cwd : srcDir } ) ;
779779 run ( 'npm' , [ 'run' , 'build:bundle' ] , { cwd : srcDir } ) ;
780780}
781781
782+ function lintProject ( ) {
783+ run ( 'npm' , [ '--prefix' , 'src' , 'run' , 'lint' ] ) ;
784+ run ( 'npm' , [
785+ '--prefix' ,
786+ 'src' ,
787+ 'exec' ,
788+ '--' ,
789+ 'eslint' ,
790+ '--config' ,
791+ 'src/eslint.config.js' ,
792+ '.github/scripts' ,
793+ '.github/commitlint.config.js' ,
794+ '--no-ignore' ,
795+ ] ) ;
796+ }
797+
782798function setupProject ( ) {
783799 runDoctor ( ) ;
784800 run ( 'npm' , [ 'ci' ] , { cwd : srcDir } ) ;
@@ -805,7 +821,7 @@ Tasks:
805821 release:checksums Generate SHA256 checksums for release bundles
806822 release:verify-hardening Validate release hardening settings
807823 run Launch the built app artifact
808- lint Run frontend lint checks
824+ lint Run frontend and repository tooling lint checks
809825 format Format frontend files
810826 format:check Check frontend formatting
811827 test Run frontend tests
@@ -897,7 +913,7 @@ Tasks:
897913 runReleaseBinary ( ) ;
898914 } ,
899915 lint ( ) {
900- run ( 'npm' , [ '--prefix' , 'src' , 'run' , 'lint' ] ) ;
916+ lintProject ( ) ;
901917 } ,
902918 format ( ) {
903919 run ( 'npm' , [ '--prefix' , 'src' , 'run' , 'format' ] ) ;
0 commit comments