Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the defaultSeverity property to the schema for tslint.json #320

Closed
BehindTheMath opened this issue Aug 3, 2017 · 0 comments
Closed

Comments

@BehindTheMath
Copy link
Contributor

The TSLint documentation has a property that is missing from the schema.

defaultSeverity?: "error" | "warning" | "off": The severity level used when a rule specifies a default warning level. If undefined, “error” is used. This value is not inherited and is only applied to rules in this file.

Suggested fix:
Add the following object to the properties section at the end of the schema:

"defaultSeverity": {
  "type": "string",
  "enum": ["error", "warning", "off"],
  "default": "error"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant