[zanata/zanata-server] 8df372: refactor(editor): enable linting rule react/jsx-no...

GitHub noreply at github.com
Fri Jul 15 06:47:01 UTC 2016


  Branch: refs/heads/frontend-dependency-versions-ZNTA1220
  Home:   https://github.com/zanata/zanata-server
  Commit: 8df372acfeed629399ddc8673b1b2a968ce66051
      https://github.com/zanata/zanata-server/commit/8df372acfeed629399ddc8673b1b2a968ce66051
  Author: David Mason <drdmason at gmail.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M zanata-editor/src/.eslintrc
    M zanata-editor/src/app/components/Dropdown/index.js
    M zanata-editor/src/app/components/TransUnit/index.js
    M zanata-editor/src/app/components/TransUnitFilter.js
    M zanata-editor/src/app/components/TransUnitSourceHeader.js
    M zanata-editor/src/app/components/TransUnitTranslationFooter.js
    M zanata-editor/src/app/components/TransUnitTranslationPanel.js
    M zanata-editor/src/app/containers/KeyShortcutDispatcher.js
    M zanata-editor/src/app/containers/SuggestionsHeader.js

  Log Message:
  -----------
  refactor(editor): enable linting rule react/jsx-no-bind

The fixes for this rule should make code run more efficiently, because
they avoid creating extra copies of functions every render cycle, which
would have been creating extra work for the garbage collector.


  Commit: 661985dce96090a0eb1a8116b5a9da99f5b91b3c
      https://github.com/zanata/zanata-server/commit/661985dce96090a0eb1a8116b5a9da99f5b91b3c
  Author: David Mason <drdmason at gmail.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M zanata-editor/src/.eslintrc

  Log Message:
  -----------
  refactor(editor): enable linting rule no-return-assign (no fixes needed)

The errors this was causing were likely fixed incidentally when extracting
arrow functions from JSX properties.


  Commit: 0ec8c26214642e7fd0472c9f17fa6d880c8928ad
      https://github.com/zanata/zanata-server/commit/0ec8c26214642e7fd0472c9f17fa6d880c8928ad
  Author: David Mason <drdmason at gmail.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M zanata-editor/src/.eslintrc
    M zanata-editor/src/app/components/Button/index.js
    M zanata-editor/src/app/components/Dropdown/index.js
    M zanata-editor/src/app/components/IconButton.js
    M zanata-editor/src/app/components/IconButtonToggle.js
    M zanata-editor/src/app/components/Pager.js
    M zanata-editor/src/app/components/Suggestion.js
    M zanata-editor/src/app/components/SuggestionList.js
    M zanata-editor/src/app/components/SuggestionTranslationDetails.js
    M zanata-editor/src/app/components/SuggestionTranslations.js
    M zanata-editor/src/app/components/TransUnit/index.js
    M zanata-editor/src/app/components/TransUnitTranslationPanel.js
    M zanata-editor/src/app/containers/KeyShortcutDispatcher.js
    M zanata-editor/src/app/containers/ParamPropDispatcher.js
    M zanata-editor/src/app/containers/Root/index.js
    M zanata-editor/src/app/containers/SuggestionsBody.js
    M zanata-editor/src/app/containers/SuggestionsHeader.js
    M zanata-editor/src/app/containers/SuggestionsPanel.js

  Log Message:
  -----------
  refactor(editor): enable linting rule react/prop-types


Compare: https://github.com/zanata/zanata-server/compare/24532f6060c3...0ec8c2621464


More information about the zanata-commits mailing list