Lint rules : unable to display as error

For a lint rule (in lint.yml) I have mentioned , severity: error , but still it is showing as warning in stoplight.
How to make a lint rule display as error instead of warning in stoplight.