Skip to content

Commit

Permalink
fix(imports): fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
casserni authored and Marc MacLeod committed Dec 11, 2018
1 parent 72438e9 commit ea1d029
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/api-host.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/api-schemes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/contact-properties.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/info-contact.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/info-description.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/info-license.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/license-url.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/model-description.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/no-eval-in-markdown.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../..';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/no-script-tags-in-markdown.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/only-local-references.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/openapi-tags-alphabetical.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/openapi-tags.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/operation-default-response.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/operation-description.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/operation-operationId.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/operation-singular-tag.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/operation-summary-formatted.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/operation-tags.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/parameter-description.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../../../../spectral';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/path-declarations-must-exist.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../..';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/path-keys-no-trailing-slash.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../..';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/path-not-include-query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../..';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/schema-items-is-object.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../..';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/server-not-example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../..';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/server-trailing-slash.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../..';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
2 changes: 1 addition & 1 deletion src/rulesets/oas/__tests__/tag-description.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spectral } from '../../..';
import { Spectral } from '../../../spectral';
import { commonOasRules } from '../index';

const ruleset = { rules: commonOasRules() };
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Spectral } from '../../../../../spectral';
import { commonOasFunctions, commonOasRules } from '../../../index';
import { commonOasFunctions, commonOasRules } from '../../../../oas/index';

const ruleset = { functions: commonOasFunctions(), rules: commonOasRules() };

Expand Down

0 comments on commit ea1d029

Please sign in to comment.