diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-06-01 21:03:19 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-01 14:03:19 +0200 |
commit | bfa12239e84ebe310d74ef0e773d90a477b3cf8f (patch) | |
tree | e6775b25d7420723dd8ea3cac1fd20a3683c5f45 /.eslintrc.yml | |
parent | 15ce60f610ed46fd77b58857c5a318c30080648e (diff) |
Update ESLint for Code Climate (#7696)
* Update babel-eslint to version 8.2.3 * Update eslint to version 4.19.1 * Update eslint-plugin-promise to version 3.8.0 * Update eslint-plugin-react to version 7.8.2 * Upgrade eslint-plugin-jsx-a11y to version 6.0.3 * yarn test:lint --fix
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml index 205c9460a..fbda26549 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -113,13 +113,23 @@ rules: jsx-a11y/accessible-emoji: warn jsx-a11y/alt-text: warn jsx-a11y/anchor-has-content: warn + jsx-a11y/anchor-is-valid: + - warn + - components: + - Link + - NavLink + specialLink: + - to + aspect: + - noHref + - invalidHref + - preferButton jsx-a11y/aria-activedescendant-has-tabindex: warn jsx-a11y/aria-props: warn jsx-a11y/aria-proptypes: warn jsx-a11y/aria-role: warn jsx-a11y/aria-unsupported-elements: warn jsx-a11y/heading-has-content: warn - jsx-a11y/href-no-hash: warn jsx-a11y/html-has-lang: warn jsx-a11y/iframe-has-title: warn jsx-a11y/img-redundant-alt: warn |