nl_tokens: Load all file checking plugins
pl_tokens: function loadFileCheckerPlugins ( ) { var checkers = { } ; try { fs . readdirSync ( path . join ( process . cwd ( ) , ".git-hooks/pre-commit-plugins/plugins" ) ) . forEach ( function ( file ) { var check = <mask> . replace ( / \.js$ / , "" ) ; if ( ! ( / \.js$ / ) . test ( file ) ) { return ; } checkers [ check ] = require ( path . join ( process . cwd ( ) , ".git-hooks/pre-commit-plugins/plugins" , file ) ) ; } ) ; } catch ( e ) { // empty } return checkers ; }