tslint.yml
---
defaultSeverity: warning
rulesDirectory:
- tslint-microsoft-contrib
- tslint-react/rules
extends:
- tslint:recommended
rules:
no-duplicate-imports: true
space-before-function-paren: true
member-ordering: false
ordered-imports: true
object-literal-sort-keys: false
max-line-length: false
variable-name: false
no-shadowed-variable: false
no-consecutive-blank-lines: false
interface-name:
- true
- never-prefix
array-type:
- true
- array
quotemark:
- true
- single
indent:
- true
- spaces
- 2
jsx-alignment: true
jsx-ban-props: true
jsx-no-bind: true
jsx-no-lambda: true
jsx-no-multiline-js: false
jsx-no-string-ref: true
jsx-self-close: true
jsx-wrap-multiline: true
jsx-boolean-value:
- true
- never
jsx-curly-spacing:
- true
- never
jsx-equals-spacing:
- true
- never
jsx-key:
- true
- always
react-a11y-anchors: false
react-a11y-aria-unsupported-elements: true
react-a11y-event-has-role: true
react-a11y-image-button-has-alt: true
react-a11y-img-has-alt: true
react-a11y-lang: true
react-a11y-meta: true
react-a11y-props: true
react-a11y-proptypes: true
react-a11y-role: true
react-a11y-role-has-required-aria-props: true
react-a11y-role-supports-aria-props: true
react-a11y-tabindex-no-positive: true
react-a11y-titles: true
react-anchor-blank-noopener: true
react-iframe-missing-sandbox: true
react-no-dangerous-html: false
react-this-binding-issue: true
react-unused-props-and-state: true