File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
engines :
2
2
fixme :
3
3
enabled : true
4
- eslint :
5
- enabled : true
6
4
exclude_paths :
7
5
- " **/*.md"
6
+ - " Dockerfile"
7
+ - " bin/fixme"
8
+ - " index.js"
Original file line number Diff line number Diff line change 4
4
5
5
* ` TODO `
6
6
* ` FIXME `
7
- * ` XXX `
8
7
* ` HACK `
9
8
* ` BUG `
10
9
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ var fixmeStrings = "'FIXME|TODO|HACK|BUG'";
9
9
10
10
// Prints properly structured Issue data to STDOUT according to
11
11
// Code Climate Engine specification.
12
- var printIssue = function ( fileName , lineNum , issue ) {
12
+ var printIssue = function ( fileName , lineNum , matchedString ) {
13
13
var issue = {
14
14
"type" : "issue" ,
15
15
"check_name" : "FIXME found" ,
16
- "description" : issue + " found" ,
16
+ "description" : matchedString + " found" ,
17
17
"categories" : [ "Bug Risk" ] ,
18
18
"location" :{
19
19
"path" : fileName ,
@@ -48,9 +48,9 @@ var findFixmes = function(file){
48
48
// Remove remnants of container paths for external display
49
49
var fileName = cols [ 0 ] . split ( "/code/" ) [ 1 ] ;
50
50
var lineNum = cols [ 1 ] ;
51
- var issue = cols [ 2 ] ;
51
+ var matchedString = cols [ 2 ] ;
52
52
53
- printIssue ( fileName , lineNum , issue ) ;
53
+ printIssue ( fileName , lineNum , matchedString ) ;
54
54
}
55
55
} )
56
56
} )
You can’t perform that action at this time.
0 commit comments