@snyk/sweater-comb
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@snyk/sweater-comb", | ||
"version": "0.0.1", | ||
"version": "v0.0.2+202108311017-d63080c", | ||
"description": "Snyk API linting rules", | ||
@@ -5,0 +5,0 @@ "main": "apinext.yaml", |
@@ -40,8 +40,1 @@ const { Spectral } = require('@stoplight/spectral-core'); | ||
}); | ||
it('passes with component case', async () => { | ||
const spectral = new Spectral(); | ||
spectral.setRuleset(rules); | ||
const result = await spectral.run(loadSpec('hello-world.yaml')); | ||
expect(result).toHaveLength(0); | ||
}); |
@@ -31,8 +31,1 @@ const { Spectral } = require('@stoplight/spectral-core'); | ||
}); | ||
it('passes with camel case params', async () => { | ||
const spectral = new Spectral(); | ||
spectral.setRuleset(rules); | ||
const result = await spectral.run(loadSpec('hello-world.yaml')); | ||
expect(result).toHaveLength(0); | ||
}); |
@@ -24,8 +24,1 @@ const { Spectral } = require('@stoplight/spectral-core'); | ||
}); | ||
it('passes with camel case paths', async () => { | ||
const spectral = new Spectral(); | ||
spectral.setRuleset(rules); | ||
const result = await spectral.run(loadSpec('hello-world.yaml')); | ||
expect(result).toHaveLength(0); | ||
}); |
@@ -8,3 +8,3 @@ const path = require('path'); | ||
if (!ruleFile) { | ||
ruleFile = 'apinext.yaml'; | ||
ruleFile = '.spectral.yaml'; | ||
} | ||
@@ -11,0 +11,0 @@ const rulesetFile = path.join(__dirname, '..', ruleFile); |
@@ -115,8 +115,1 @@ const { Spectral } = require('@stoplight/spectral-core'); | ||
}); | ||
it('passes with versioning', async () => { | ||
const spectral = new Spectral(); | ||
spectral.setRuleset(rules); | ||
const result = await spectral.run(loadSpec('hello-world.yaml')); | ||
expect(result).toHaveLength(0); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47229
31
382
1