There was an error while loading. Please reload this page.
1 parent 2b3e97b commit c222c46Copy full SHA for c222c46
grunt/config/complexity.js
@@ -1,5 +1,11 @@
1
+var grunt = require('grunt');
2
+
3
module.exports.generic = {
- src: ['./build/modules/**/*.js'],
4
+ src: grunt.file.expand({
5
+ filter: function(path){
6
+ return !(/__\w+__|\btest\b/).test(path);
7
+ }
8
+ }, ['./build/modules/**/*.js']),
9
options: {
10
errorsOnly: false, // show only maintainability errors
11
cyclomatic: 3,
0 commit comments