Skip to content
Snippets Groups Projects
  1. May 28, 2018
  2. Apr 02, 2018
    • unarist's avatar
      Add missing rejection handling for Promises (#7008) · 2c51bc0c
      unarist authored
      * Add eslint-plugin-promise to detect uncaught rejections
      
      * Move alert generation for errors to actions/alert
      
      * Add missing rejection handling for Promises
      
      * Use catch() instead of onReject on then()
      
      Then it will catches rejection from onFulfilled. This detection can be
      disabled by `allowThen` option, though.
      2c51bc0c
  3. Jan 17, 2018
  4. Oct 16, 2017
  5. Aug 24, 2017
  6. Jul 28, 2017
    • Sorin Davidoi's avatar
      Improve accessibility (part 4) (#4408) · b7d47c2a
      Sorin Davidoi authored
      * fix(dropdown_menu): Keyboard navigation
      
      * fix(icon_button): Add aria-pressed attribute
      
      * fix(privacy_dropdown): Make accessible
      
      * fix(emoji_picker_dropdown): Make accessible
      
      * fix(icon_button): Support tabIndex
      
      * fix(actions_modal): Remove icon from tab order
      
      * fix(dropdown_menu): Add role=group
      
      * fix(setting_toggle): Toggle via space key
      
      * fix(dropdown_menu): Remove redundant handling of Space key
      
      * fix(emoji_picker_dropdown): Remove redundant Space key handling
      
      * fix(privacy_dropdown): Remove redundant Space key handling
      
      * fix(status): Switch to article and add aria-posinset, aria-setsize
      
      * fix(status_list): Use role=feed and pass more ARIA props to Status
      
      * chore(eslint): jsx-a11y/role-supports-aria-props
      b7d47c2a
  7. Jul 27, 2017
    • Sorin Davidoi's avatar
      Improve accessibility (part 3) (#4405) · 6884dd79
      Sorin Davidoi authored
      * fix(compose): Add aria-label for the navigation links
      
      * fix(search): Add input label
      
      * fix(navigation_bar): Link description
      
      * fix(autosuggest_textarea): Add input label
      
      * fix(compose_form): Add input label
      
      * fix(upload_button): Add input label
      
      * fix(account/header): Add link content
      
      * fix(column_header): Use h1 tag
      
      * fix(column_header): Labels move buttons moving column
      
      * fix(settings_text): Add label to input
      
      * fix(column_header): Remove role from h1
      
      * fix(modal_root): Use role=dialog
      
      * fix(modal_root): Focus restauration
      
      * fix(modal_root): Apply inert to sibligs
      
      * fix(column_header): Add role=button
      
      * chore(eslint): Disable jsx-a11y/label-has-for
      6884dd79
  8. Jun 23, 2017
  9. Jun 11, 2017
  10. Jun 06, 2017
    • Yamagishi Kazutoshi's avatar
      Improve ESLint rules for JSX (#3608) · d8ae3efe
      Yamagishi Kazutoshi authored
      * Add react/no-string-refs ESLint rule
      
      * Add react/jsx-boolean-value ESLint rule
      
      * Add react/jsx-closing-bracket-location ESLint rule
      
      * Add react/jsx-indent ESLint rule
      
      * Add react/jsx-curly-spacing ESLint rule
      
      * Add react/jsx-equals-spacing ESLint rule
      
      * Add react/jsx-first-prop-new-line ESLint rule
      
      * Add react/jsx-no-duplicate-props ESLint rule
      
      * Add react/jsx-tag-spacing ESLint rule
      d8ae3efe
    • Yamagishi Kazutoshi's avatar
      Add quotes ESLint rules (#3602) · 7a7bfa51
      Yamagishi Kazutoshi authored
      * Add quotes ESLint rule
      
      * Add jsx-quotes ESlint rule
      
      * Sort ESLint rules
      7a7bfa51
  11. Jun 01, 2017
  12. May 20, 2017
    • Yamagishi Kazutoshi's avatar
      Improve eslint rules (#3147) · 2e112e24
      Yamagishi Kazutoshi authored
      * Add semi to ESLint rules
      
      * Add padded-blocks to ESLint rules
      
      * Add comma-dangle to ESLint rules
      
      * add config/webpack and storyboard
      
      * add streaming/
      
      * yarn test:lint -- --fix
      2e112e24
  13. May 19, 2017
    • Sorin Davidoi's avatar
      Avoid useless renders (#3141) · 1548695c
      Sorin Davidoi authored
      * feat(eslint): Set react/jsx-no-bind: error
      
      * refactor(notifications/setting_toggle): Do not use bind
      
      * refactor(components/dropdown_menu): Do not use bind
      
      * refactor(components/autosuggest_textarea): Do not use bind
      
      * refactor(compose/privacy_dropdown): Do not use bind
      
      * refactor(compose/upload_form): Do not use bind
      
      * refactor(components/status): Do not use bind
      
      * refactor(components/onboarding_modal): Do not use bind
      
      * refactor: PR feedback
      
      * chore(notifications/setting_toggle): Lint
      
      * refactor: PR feedback
      1548695c
    • Yamagishi Kazutoshi's avatar
      Downgrade eslint-plugin-jsx-a11y to v4.0.0 (#3131) · dc559d6b
      Yamagishi Kazutoshi authored
      In Code Climate, eslint-plugin-jsx-a11y v4.0.0 is used.
      Therefore, it seems that a warning is displayed.
      
      ref https://github.com/codeclimate/codeclimate-eslint/pull/273
      dc559d6b
  14. May 06, 2017
    • Koala Yeung's avatar
      Eslintrc fix (#2850) · 6f71cfef
      Koala Yeung authored
      * eslintrc: adapt changes in eslint-plugin-jsx-a11y
      
      * Replace 'jsx-a11y/img-has-alt' with 'jsx-a11y/alt-text'.
        Reference: evcohen/eslint-plugin-jsx-a11y@24b6193
      
      * Replace 'jsx-a11y/onclick-has-focus' with 'jsx-a11y/interactive-supports-focus'
        Reference: evcohen/eslint-plugin-jsx-a11y@cbdfeb8
      
      * Replace 'jsx-a11y/onclick-has-role' with 'jsx-a11y/no-noninteractive-element-interactions'
        Reference: evcohen/eslint-plugin-jsx-a11y@18c9b71
      
      * Update eslint-plugin-jsx-a11y to 5.0.0
      
      Follow the change in Code Climate. Make sure the same eslintrc
      can be executed locally and in Code Climate.
      
      * Convert .eslintrc.json to equivlant .eslintrc.yml
      
      * Less quotes and commas, more readability, allow comment.
      6f71cfef
Loading