--- layout: page title: Rulesets permalink: /rules/1-rulesets ---

Speccy ships with two rulesets, default and strict. These rulesets can be invoked with `--rules=`, and of course `default` is used by default. You can also create your own custom rulesets.

Remember, linting is more than validaiton, so these rules will do more than simply make sure your files are valid. They'll make your specs better than valid, they'll make them useful.

Default

$ speccy lint openapi.yaml --rules=default
{% include rules-list.html rules=site.data.rules.default %}

Strict

$ speccy lint openapi.yaml --rules=strict
{% include rules-list.html rules=site.data.rules.strict %}

You can also create your own rulesets with a simple `.yaml` file.