From 7eb7ba0b5aced7ceb1c226183ef0d481fa7ee00d Mon Sep 17 00:00:00 2001 From: bhavyarm Date: Tue, 11 Dec 2018 14:41:21 -0500 Subject: [PATCH] removing non-branch commits --- package.json | 1 + tslint.yaml | 19 +++++++++++++++++++ yarn.lock | 13 +++++++++++++ 3 files changed, 33 insertions(+) diff --git a/package.json b/package.json index 6c0ecb3e3f541be..2a6a079fce336af 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tslint.yaml b/tslint.yaml index 470f8a16ec9724e..700150eba9bca33 100644 --- a/tslint.yaml +++ b/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 - |- diff --git a/yarn.lock b/yarn.lock index 09242e3dbe3f32f..5e5499327b91d6c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20375,6 +20375,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" @@ -20408,6 +20415,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"