--- layout: page title: Linter Rules permalink: /rules/ ---

Linter Rules

Speccy ships with two rules files, which contain a bunch of rules for linting your specifications: `default` and `strict`. You can pass `--rules=default` or You can pass `--rules=strict` to enable these files, or you can make your own.

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 %}