Skip to content

Commit

Permalink
Run format
Browse files Browse the repository at this point in the history
  • Loading branch information
benkimpel committed Jul 2, 2019
1 parent 8d61358 commit 2e6ce95
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import padding from './rules/padding';
import paddingBeforeDescribeBlocks from './rules/padding-before-describe-blocks';
import paddingBeforeTestBlocks from './rules/padding-before-test-blocks';
import paddingBeforeExpectStatements from "./rules/padding-before-expect-statements";
import paddingBeforeExpectStatements from './rules/padding-before-expect-statements';

//------------------------------------------------------------------------------
// Plugin Definition
Expand Down
4 changes: 2 additions & 2 deletions src/rules/padding-before-describe-blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export default {
create(context) {
const ctx = Object.create(context, {
options: {
value: [{blankLine: 'always', prev: '*', next: 'describe'}]
}
value: [{ blankLine: 'always', prev: '*', next: 'describe' }],
},
});

return padding.create(ctx);
Expand Down
8 changes: 4 additions & 4 deletions src/rules/padding-before-expect-statements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ export default {
const ctx = Object.create(context, {
options: {
value: [
{blankLine: 'always', prev: '*', next: 'expect'},
{blankLine: 'any', prev: 'expect', next: 'expect'}
]
}
{ blankLine: 'always', prev: '*', next: 'expect' },
{ blankLine: 'any', prev: 'expect', next: 'expect' },
],
},
});

return padding.create(ctx);
Expand Down
8 changes: 4 additions & 4 deletions src/rules/padding-before-test-blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ export default {
const ctx = Object.create(context, {
options: {
value: [
{blankLine: 'always', prev: '*', next: 'test'},
{blankLine: 'always', prev: '*', next: 'it'},
]
}
{ blankLine: 'always', prev: '*', next: 'test' },
{ blankLine: 'always', prev: '*', next: 'it' },
],
},
});

return padding.create(ctx);
Expand Down

0 comments on commit 2e6ce95

Please sign in to comment.