This is an automated email from the ASF dual-hosted git repository.
amaranhao pushed a change to branch upgrade-to-eslint-v4
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git.
from 44ea520 Enable eslint-react recommended rules
new dfa9189 Address Garren's comments
new f291739 Enforce 2-space indent rule and fix all issues
new ad08188 Enforce no-else-return rule and fix issues
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.eslintrc | 38 ++--
app/addons/activetasks/components.js | 10 +-
app/addons/activetasks/layout.js | 4 +-
app/addons/activetasks/stores.js | 16 +-
app/addons/auth/actions.js | 70 +++---
app/addons/auth/components/loginform.js | 2 +-
app/addons/auth/layout.js | 4 +-
app/addons/cluster/cluster.stores.js | 4 +-
app/addons/cluster/resources.js | 3 +-
app/addons/components/__tests__/polling.test.js | 4 +-
.../components/__tests__/tabwindowwrapper.test.js | 2 +-
.../components/components/codeeditorpanel.js | 8 +-
.../components/components/paddedborderbox.js | 2 +-
.../components/components/toggleheaderbutton.js | 2 +-
app/addons/components/components/tray.js | 14 +-
app/addons/components/components/zenmodeoverlay.js | 16 +-
app/addons/components/layouts.js | 22 +-
app/addons/components/stores.js | 4 +-
app/addons/config/__tests__/actions.test.js | 72 +++----
app/addons/config/components.js | 77 ++++---
app/addons/config/layout.js | 2 +-
app/addons/cors/actions.js | 14 +-
app/addons/cors/reducers.js | 20 +-
app/addons/databases/actions.js | 30 +--
app/addons/databases/components.js | 4 +-
app/addons/databases/layout.js | 2 +-
app/addons/databases/resources.js | 4 +-
app/addons/databases/stores.js | 12 +-
.../tests/nightwatch/checkDatabaseTooltip.js | 2 +-
.../databases/tests/nightwatch/createsDatabase.js | 48 ++---
.../databases/tests/nightwatch/deletesDatabase.js | 5 +-
.../nightwatch/deletesDatabaseSpecialChars.js | 4 +-
.../tests/nightwatch/permissionsDbTable.js | 2 +-
.../tests/nightwatch/specialCharListLinks.js | 2 +-
app/addons/documentation/routes.js | 2 +-
.../tests/nightwatch/checksDocsPage.js | 2 +-
app/addons/documents/__tests__/changes.test.js | 12 +-
.../documents/__tests__/fetch-actions.test.js | 28 +--
.../documents/__tests__/pagination-footer.test.js | 224 +++++++++----------
app/addons/documents/changes/components.js | 10 +-
app/addons/documents/designdocinfo/stores.js | 8 +-
app/addons/documents/doc-editor/stores.js | 28 +--
app/addons/documents/header/header.js | 28 +--
app/addons/documents/helpers.js | 6 +-
.../index-editor/__tests__/actions.test.js | 14 +-
.../index-editor/components/DesignDocSelector.js | 4 +-
app/addons/documents/index-editor/stores.js | 26 +--
.../index-results/actions/queryoptions.js | 12 +-
app/addons/documents/index-results/api.js | 45 ++--
.../components/queryoptions/MainFieldsView.js | 2 +-
.../components/queryoptions/QueryOptions.js | 2 +-
.../components/results/ResultsScreen.js | 28 +--
.../containers/IndexResultsContainer.js | 12 +-
.../documents/index-results/helpers/table-view.js | 14 +-
app/addons/documents/index-results/reducers.js | 4 +-
.../documents/mango/components/ExecutionStats.js | 12 +-
.../mango/components/MangoQueryEditorContainer.js | 2 +-
app/addons/documents/mango/mango.actions.js | 10 +-
app/addons/documents/mango/mango.api.js | 10 +-
app/addons/documents/mango/mango.constants.js | 12 +-
app/addons/documents/mangolayout.js | 22 +-
app/addons/documents/resources.js | 6 +-
.../documents/rev-browser/rev-browser.actions.js | 6 +-
.../rev-browser/rev-browser.components.js | 2 +-
.../documents/rev-browser/rev-browser.stores.js | 10 +-
app/addons/documents/routes-doc-editor.js | 10 +-
app/addons/documents/routes-index-editor.js | 6 +-
.../sidebar/__tests__/sidebar.components.test.js | 2 +-
app/addons/documents/sidebar/sidebar.js | 2 +-
app/addons/documents/sidebar/stores.js | 26 +--
.../documents/tests/nightwatch/bulkDelete.js | 32 +--
.../tests/nightwatch/checkSidebarBehavior.js | 6 +-
app/addons/documents/tests/nightwatch/cloneDoc.js | 2 +-
.../documents/tests/nightwatch/createsDocument.js | 8 +-
.../tests/nightwatch/createsDocumentWithoutId.js | 2 +-
.../tests/nightwatch/deleteDatabaseModal.js | 4 +-
.../documents/tests/nightwatch/deletesDocuments.js | 12 +-
.../tests/nightwatch/doubleEmitResults.js | 24 +--
.../tests/nightwatch/editDocumentsFromView.js | 26 +--
.../documents/tests/nightwatch/encodingSupport.js | 6 +-
.../documents/tests/nightwatch/mangoIndex.js | 2 +-
.../documents/tests/nightwatch/mangoQuery.js | 2 +-
.../tests/nightwatch/navigateFromNewDoc.js | 4 +-
.../tests/nightwatch/navigateNotFoundDB.js | 2 +-
.../documents/tests/nightwatch/paginateView.js | 2 +-
.../documents/tests/nightwatch/previousButton.js | 2 +-
.../documents/tests/nightwatch/queryOptions.js | 2 +-
.../tests/nightwatch/queryOptionsCloseBug.js | 2 +-
.../tests/nightwatch/replicateDatabaseButton.js | 78 +++----
.../documents/tests/nightwatch/revBrowser.js | 2 +-
.../tests/nightwatch/selectDocViaTypeahead.js | 4 +-
.../documents/tests/nightwatch/viewCreate.js | 10 +-
.../tests/nightwatch/viewCreateBadView.js | 8 +-
app/addons/documents/tests/nightwatch/viewEdit.js | 12 +-
.../documents/tests/nightwatch/viewQueryOptions.js | 6 +-
app/addons/fauxton/navigation/stores.js | 30 +--
.../notifications/__tests__/components.test.js | 20 +-
app/addons/fauxton/notifications/notifications.js | 76 +++----
app/addons/fauxton/notifications/stores.js | 24 +--
.../fauxton/tests/nightwatch/highlightsidebar.js | 2 +-
.../fauxton/tests/nightwatch/notificationCenter.js | 2 +-
app/addons/permissions/actions.js | 66 +++---
.../permissions/components/PermissionsSection.js | 74 +++----
app/addons/replication/__tests__/api.tests.js | 150 ++++++-------
.../replication/__tests__/newreplication.test.js | 24 +--
app/addons/replication/actions.js | 238 ++++++++++-----------
app/addons/replication/api.js | 94 ++++----
app/addons/replication/components/activity.js | 2 +-
app/addons/replication/components/common-table.js | 20 +-
.../replication/components/newreplication.js | 22 +-
app/addons/replication/components/options.js | 30 +--
.../replication/components/replicate-activity.js | 2 +-
app/addons/replication/components/source.js | 6 +-
app/addons/replication/components/submit.js | 36 ++--
app/addons/replication/components/target.js | 8 +-
app/addons/replication/controller.js | 13 +-
app/addons/replication/route.js | 2 +-
app/addons/replication/stores.js | 64 +++---
.../tests/nightwatch/replicationactivity.js | 70 +++---
app/addons/setup/resources.js | 4 +-
app/addons/setup/setup.actions.js | 6 +-
app/addons/setup/setup.js | 6 +-
app/addons/setup/setup.stores.js | 24 +--
app/addons/verifyinstall/resources.js | 24 +--
app/addons/verifyinstall/stores.js | 10 +-
app/core/__tests__/ajax.test.js | 21 +-
app/core/__tests__/utils.test.js | 8 +-
app/core/api.js | 4 +-
app/core/routeObject.js | 4 +-
app/core/utils.js | 8 +-
app/helpers.js | 22 +-
index.js | 24 +--
tasks/fauxton.js | 6 +-
webpack.config.dev.js | 126 +++++------
webpack.config.release.js | 31 ++-
135 files changed, 1414 insertions(+), 1423 deletions(-)
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].