Skip to content
Snippets Groups Projects
  1. 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
  2. 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