You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: new rule to restrict media types in paths (#31)
* feat: add rule for no media types in resources
New rule to address: #24
* Added more media types to description
* Added more tests
* feat: add rule for no media types in resources
New rule to address: #24
* Added more media types to description
* Added more tests
* Update src/ruleset.ts
* Update src/ruleset.ts
reduce code duplication on regex
Co-authored-by: Phil Sturgeon <67381+philsturgeon@users.noreply.github.com>
* tests-added-oas2-tests
Added tests for OAS2 api definitions and removed old test
Co-authored-by: Phil Sturgeon <67381+philsturgeon@users.noreply.github.com>
fix: amend CommonJS output to be compatible with `require` (#36)
Add `module.exports = module.exports.default;` at the end of the CJS file.
Example:
```js
const ruleset = require('@apisyouwonthate/style-guide');
```