Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 0ffb2fe

Browse files
committed
have eslint chill out about a couple things
1 parent d7a531e commit 0ffb2fe

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.eslintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"all"
1616
],
1717
"dot-notation": [
18-
2,
18+
1,
1919
{
2020
"allowKeywords": true
2121
}
@@ -29,6 +29,7 @@
2929
"never"
3030
],
3131
"guard-for-in": 2,
32+
"key-spacing": 1,
3233
"new-cap": 0,
3334
"no-bitwise": 2,
3435
"no-caller": 2,
@@ -52,6 +53,7 @@
5253
"no-sequences": 2,
5354
"no-shadow": 2,
5455
"no-undef": 2,
56+
"no-underscore-dangle": 1,
5557
"no-unused-vars": 2,
5658
"no-with": 2,
5759
"quotes": [

builder/list_item_hunter.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
var repeatedBlockTemplate = [];
4444
var repeatedBlockHtml = '';
4545
for(var i = 0; i < items.indexOf(loopNumberString); i++){
46-
console.log('adding', patternBlock, 'to repeatedBlockTemplate');
46+
if (config.debug) {
47+
console.log('list item(s) in pattern', pattern.patternName, 'adding', patternBlock, 'to repeatedBlockTemplate');
48+
}
4749
repeatedBlockTemplate.push(patternBlock);
4850
}
4951

0 commit comments

Comments
 (0)