diff --git a/src/index.ts b/src/index.ts index df4af8e..d0dc9d2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 diff --git a/src/rules/padding-before-describe-blocks.ts b/src/rules/padding-before-describe-blocks.ts index bb5d4f8..e04dc33 100644 --- a/src/rules/padding-before-describe-blocks.ts +++ b/src/rules/padding-before-describe-blocks.ts @@ -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); diff --git a/src/rules/padding-before-expect-statements.ts b/src/rules/padding-before-expect-statements.ts index a884347..6716580 100644 --- a/src/rules/padding-before-expect-statements.ts +++ b/src/rules/padding-before-expect-statements.ts @@ -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); diff --git a/src/rules/padding-before-test-blocks.ts b/src/rules/padding-before-test-blocks.ts index ed12932..d4056f2 100644 --- a/src/rules/padding-before-test-blocks.ts +++ b/src/rules/padding-before-test-blocks.ts @@ -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);