mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Adding a11y rules from tslint-microsoft-contrib to tslint (#26888)
This commit is contained in:
parent
eefde19a7f
commit
7b2b47c46e
3 changed files with 33 additions and 0 deletions
|
@ -392,6 +392,7 @@
|
|||
"tslint": "^5.11.0",
|
||||
"tslint-config-prettier": "^1.15.0",
|
||||
"tslint-plugin-prettier": "^2.0.0",
|
||||
"tslint-microsoft-contrib": "^6.0.0",
|
||||
"typescript": "^3.0.3",
|
||||
"vinyl-fs": "^3.0.2",
|
||||
"xml2js": "^0.4.19",
|
||||
|
|
19
tslint.yaml
19
tslint.yaml
|
@ -2,15 +2,34 @@ extends:
|
|||
- tslint:recommended
|
||||
- tslint-config-prettier
|
||||
|
||||
|
||||
rulesDirectory:
|
||||
- tslint-plugin-prettier
|
||||
- src/dev/tslint/rules
|
||||
- node_modules/tslint-microsoft-contrib
|
||||
|
||||
rules:
|
||||
prettier: true
|
||||
object-literal-sort-keys: false
|
||||
interface-name: false
|
||||
no-default-export: true
|
||||
react-a11y-anchors: true
|
||||
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-input-elements: true
|
||||
react-a11y-lang: true
|
||||
react-a11y-meta: true
|
||||
react-a11y-no-onchange: true
|
||||
react-a11y-props: true
|
||||
react-a11y-proptypes: true
|
||||
react-a11y-required: true
|
||||
react-a11y-role-has-required-aria-props: true
|
||||
react-a11y-role-supports-aria-props: true
|
||||
react-a11y-role: true
|
||||
react-a11y-tabindex-no-positive: true
|
||||
react-a11y-titles: true
|
||||
require-license-header:
|
||||
- true
|
||||
- |-
|
||||
|
|
13
yarn.lock
13
yarn.lock
|
@ -20365,6 +20365,13 @@ tslint-config-prettier@^1.15.0:
|
|||
resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.15.0.tgz#76b9714399004ab6831fdcf76d89b73691c812cf"
|
||||
integrity sha512-06CgrHJxJmNYVgsmeMoa1KXzQRoOdvfkqnJth6XUkNeOz707qxN0WfxfhYwhL5kXHHbYJRby2bqAPKwThlZPhw==
|
||||
|
||||
tslint-microsoft-contrib@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/tslint-microsoft-contrib/-/tslint-microsoft-contrib-6.0.0.tgz#7bff73c9ad7a0b7eb5cdb04906de58f42a2bf7a2"
|
||||
integrity sha512-R//efwn+34IUjTJeYgNDAJdzG0jyLWIehygPt/PHuZAieTolFVS56FgeFW7DOLap9ghXzMiFPTmDgm54qaL7QA==
|
||||
dependencies:
|
||||
tsutils "^2.27.2 <2.29.0"
|
||||
|
||||
tslint-plugin-prettier@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/tslint-plugin-prettier/-/tslint-plugin-prettier-2.0.0.tgz#ade328b26c71f37418d4d01187dca232a7447b49"
|
||||
|
@ -20398,6 +20405,12 @@ tsutils@^2.27.2:
|
|||
dependencies:
|
||||
tslib "^1.8.1"
|
||||
|
||||
"tsutils@^2.27.2 <2.29.0":
|
||||
version "2.28.0"
|
||||
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.28.0.tgz#6bd71e160828f9d019b6f4e844742228f85169a1"
|
||||
dependencies:
|
||||
tslib "^1.8.1"
|
||||
|
||||
tty-browserify@0.0.0:
|
||||
version "0.0.0"
|
||||
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue