Skip to content

Commit 460b685

Browse files
committed
test: foo
fooo
1 parent d507baa commit 460b685

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/rules/body-leading-blank.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
export default (parsed, when) => {
22
const negated = when === 'never';
33
const lines = (parsed.body || '').split('\n');
4+
console.log(parsed);
5+
console.log(lines);
46
const leadingBlank =
57
lines.length > 0 ?
68
lines[0].length === 0 :
79
true;
10+
console.log(leadingBlank);
811
return [
912
negated ? !leadingBlank : leadingBlank,
1013
[

0 commit comments

Comments
 (0)