-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Hi,
Thanks for publishing this plugin.
I wanted to share that I was able to run several configurations as seen below, and thought it is worth sharing on the documentation or wiki pages.
grunt.initConfig({ "regex-check": { directives: { files: [ {src: ['app/js/**/*-drtv.js']} ], options: { // force file naming conventions pattern: /templateUrl(?!(.*-tmpl.html|.*\{|;))/g } }, scopes: { files: [ {src: ['app/js/**/*.js']} ], // Check that scopes that are created programatically with $new are eventually cleaned up options: { pattern: /\$new(?!(\$on('\$destroy')))/g } } }, })
Metadata
Metadata
Assignees
Labels
No labels