mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
17 lines
355 B
JavaScript
17 lines
355 B
JavaScript
"use strict";
|
|
var grunt = require('grunt');
|
|
|
|
module.exports.generic = {
|
|
src: grunt.file.expand({
|
|
filter: function(path){
|
|
return !(/__\w+__|\btest\b/).test(path);
|
|
}
|
|
}, ['./build/modules/**/*.js']),
|
|
options: {
|
|
errorsOnly: false, // show only maintainability errors
|
|
cyclomatic: 3,
|
|
halstead: 8,
|
|
maintainability: 100
|
|
}
|
|
};
|