imdone-core
Advanced tools
Comparing version 1.2.21 to 1.2.22
{ | ||
"exclude": [ | ||
"^(bower_components|\\.imdone|target|build|dist|logs)[\\/\\\\]?|\\.(git|svn|hg|npmignore)|\\~$|\\.(jpg|png|gif|swp|ttf|otf)$" | ||
"^(node_modules|bower_components|\\.imdone|target|build|dist|logs)[\\/\\\\]?|\\.(git|svn|hg|npmignore)|\\~$|\\.(jpg|png|gif|swp|ttf|otf)$" | ||
], | ||
@@ -14,3 +14,8 @@ "watcher": true, | ||
"ARCHIVE", | ||
"HACK" | ||
"HACK", | ||
"CHANGED", | ||
"XXX", | ||
"IDEA", | ||
"NOTE", | ||
"REVIEW" | ||
] | ||
@@ -21,7 +26,7 @@ }, | ||
"name": "BACKLOG", | ||
"hidden": true | ||
"hidden": false | ||
}, | ||
{ | ||
"name": "TODO", | ||
"hidden": true | ||
"hidden": false | ||
}, | ||
@@ -62,3 +67,3 @@ { | ||
"meta": { | ||
"git-iss": { | ||
"gh-iss": { | ||
"urlTemplate": "https://github.com/imdone/imdone-core/issues/%s", | ||
@@ -76,2 +81,2 @@ "titleTemplate": "Show github issue %s" | ||
} | ||
} | ||
} |
@@ -252,3 +252,3 @@ 'use strict'; | ||
File.prototype.getLang = function() { | ||
// #ARCHIVE:20 Allow a project to extend languages by adding them to config.json git-iss:5 | ||
// #ARCHIVE:20 Allow a project to extend languages by adding them to config.json gh-iss:5 | ||
var lang = this.languages[path.extname(this.path)]; | ||
@@ -289,3 +289,3 @@ return lang || {name:"text",symbol:""}; | ||
File.prototype.getCodeCommentRegex = function() { | ||
// DOING:0 Allow languages to have multiple block comment styles, like html git-iss:13 | ||
// DOING:0 Allow languages to have multiple block comment styles, like html gh-iss:13 | ||
var lang = this.getLang(); | ||
@@ -292,0 +292,0 @@ var symbol = lang.symbol; |
@@ -15,2 +15,3 @@ 'use strict'; | ||
".java": {"name": "java", "symbol": "//", "block": cBlock}, | ||
".groovy": {"name": "groovy", "symbol": "//", "block": cBlock}, | ||
".scss": {"name": "scss", "symbol": "//"}, | ||
@@ -17,0 +18,0 @@ ".cpp": {"name": "cpp", "symbol": "//", "block": cBlock}, |
@@ -141,3 +141,3 @@ 'use strict'; | ||
// #ARCHIVE:50 Fix loadConfig defaults | ||
// #TODO:0 git-iss:2 assigned:piascikj If a config is bad move it to config.json.bak and save a new one with defaults +enhancement +standup | ||
// #TODO:0 gh-iss:2 assigned:piascikj If a config is bad move it to config.json.bak and save a new one with defaults +enhancement +standup | ||
cb = tools.cb(cb); | ||
@@ -152,3 +152,6 @@ repo.loadIgnore(); | ||
if (err) return cb(err); | ||
var configLike = JSON.parse(data.toString()); | ||
var configLike = {}; | ||
try { | ||
configLike = JSON.parse(data.toString()); | ||
} catch (e) {/* noop */} | ||
cb(null, newConfig(baseConfig, configLike)); | ||
@@ -155,0 +158,0 @@ }); |
{ | ||
"name": "imdone-core", | ||
"version": "1.2.21", | ||
"version": "1.2.22", | ||
"description": "imdone-core", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
112604
3680