diff --git a/.eslintignore b/.eslintignore index 0a44a32f..79f33703 100644 --- a/.eslintignore +++ b/.eslintignore @@ -61,3 +61,379 @@ types/dotize/index.d.ts types/mobx-react-form/index.d.ts types/rails__activestorage/index.d.ts types/react-aria-modal/index.d.ts + +# old js files +app/javascript/components/SessionLoginPage.js +app/javascript/legacy/bank_accounts/confirm/page.js +app/javascript/legacy/bank_accounts/resend_confirmation_email.js +app/javascript/legacy/campaigns/index/page.js +app/javascript/legacy/campaigns/new/peer_to_peer_wizard.js +app/javascript/legacy/campaigns/new/wizard.js +app/javascript/legacy/campaigns/peer_to_peer/page.js +app/javascript/legacy/campaigns/show/admin.js +app/javascript/legacy/campaigns/show/choose-gift-options-modal.js +app/javascript/legacy/campaigns/show/gift-option-button.js +app/javascript/legacy/campaigns/show/gift-option-list.js +app/javascript/legacy/campaigns/show/gift-option-quantity-left.js +app/javascript/legacy/campaigns/show/is-sold-out.js +app/javascript/legacy/campaigns/show/metrics-and-contribute-box.js +app/javascript/legacy/campaigns/show/page.js +app/javascript/legacy/campaigns/show/tour.js +app/javascript/legacy/campaigns/supporters/index/page.js +app/javascript/legacy/campaigns/timeline.js +app/javascript/legacy/campaigns/totals.js +app/javascript/legacy/cards/create.js +app/javascript/legacy/common/ajax/check_campaign_or_event_name.js +app/javascript/legacy/common/ajax/get_campaign_and_event_names_and_ids.js +app/javascript/legacy/common/application_view.js +app/javascript/legacy/common/apply-pikaday.js +app/javascript/legacy/common/autosubmit.js +app/javascript/legacy/common/brand-fonts.js +app/javascript/legacy/common/class-object.js +app/javascript/legacy/common/client.js +app/javascript/legacy/common/colors.js +app/javascript/legacy/common/confirmation.js +app/javascript/legacy/common/credit-card-validator.js +app/javascript/legacy/common/css-gradient.js +app/javascript/legacy/common/dynamic_form.js +app/javascript/legacy/common/editable.js +app/javascript/legacy/common/el_swapo.js +app/javascript/legacy/common/event.js +app/javascript/legacy/common/file-input-stream.js +app/javascript/legacy/common/form-to-object.js +app/javascript/legacy/common/form.js +app/javascript/legacy/common/format_response_error.js +app/javascript/legacy/common/format.js +app/javascript/legacy/common/fundraiser_metrics.js +app/javascript/legacy/common/geography.js +app/javascript/legacy/common/get-valid-data.js +app/javascript/legacy/common/image_uploader.js +app/javascript/legacy/common/jquery_additions.js +app/javascript/legacy/common/notification.js +app/javascript/legacy/common/on-change-sanitize-slug.js +app/javascript/legacy/common/on-ios11.js +app/javascript/legacy/common/onboard.js +app/javascript/legacy/common/panels_layout.js +app/javascript/legacy/common/pikaday-timepicker.js +app/javascript/legacy/common/post-form-data.js +app/javascript/legacy/common/request.js +app/javascript/legacy/common/restful_resource.js +app/javascript/legacy/common/sanitize-slug.js +app/javascript/legacy/common/scroll_toggle_class.js +app/javascript/legacy/common/search-data.js +app/javascript/legacy/common/super-agent-frp.js +app/javascript/legacy/common/super-agent-promise.js +app/javascript/legacy/common/time-remaining.js +app/javascript/legacy/common/utilities.js +app/javascript/legacy/common/vendor/bootstrap-tour-standalone.js +app/javascript/legacy/common/vendor/bootstrap.js +app/javascript/legacy/common/vendor/Chart.min.js +app/javascript/legacy/common/vendor/colpick.js +app/javascript/legacy/common/vendor/jquery.cookie.js +app/javascript/legacy/common/vendor/masonry.js +app/javascript/legacy/components/activity_feed.js +app/javascript/legacy/components/address-autocomplete-fields.js +app/javascript/legacy/components/address-autocomplete.js +app/javascript/legacy/components/ajax/toggle_soft_delete.js +app/javascript/legacy/components/b64.js +app/javascript/legacy/components/branded_fundraising.js +app/javascript/legacy/components/chart-options.js +app/javascript/legacy/components/checkbox.js +app/javascript/legacy/components/confirmation-modal.js +app/javascript/legacy/components/date_range_picker.js +app/javascript/legacy/components/date-range.js +app/javascript/legacy/components/dollar-input.js +app/javascript/legacy/components/drag-to-reorder.js +app/javascript/legacy/components/duplicate_fundraiser.js +app/javascript/legacy/components/encode-plain-email.js +app/javascript/legacy/components/field-with-error.js +app/javascript/legacy/components/fundraising/add_header_image.js +app/javascript/legacy/components/maps/cc_map.js +app/javascript/legacy/components/maps/default_options.js +app/javascript/legacy/components/maps/npo_coordinates.js +app/javascript/legacy/components/maps/styles.js +app/javascript/legacy/components/modal.js +app/javascript/legacy/components/nonprofit-branding.js +app/javascript/legacy/components/number-input.js +app/javascript/legacy/components/progress-bar.js +app/javascript/legacy/components/public-activities.js +app/javascript/legacy/components/radio-and-label-wrapper.js +app/javascript/legacy/components/radios.js +app/javascript/legacy/components/render-activities.js +app/javascript/legacy/components/saving_indicator.js +app/javascript/legacy/components/search-table.js +app/javascript/legacy/components/search.js +app/javascript/legacy/components/select.js +app/javascript/legacy/components/set-state-from-value.js +app/javascript/legacy/components/state-selector.js +app/javascript/legacy/components/styles/branded-wizard.js +app/javascript/legacy/components/styles/render-styles.js +app/javascript/legacy/components/supporter-fields.js +app/javascript/legacy/components/tables/filtering/apply_filter.js +app/javascript/legacy/components/text-input.js +app/javascript/legacy/components/textarea.js +app/javascript/legacy/components/todos.js +app/javascript/legacy/components/top-nav.js +app/javascript/legacy/components/wizard.js +app/javascript/legacy/donations/create_offline.js +app/javascript/legacy/donations/create.js +app/javascript/legacy/events/discounts/index.js +app/javascript/legacy/events/discounts/manage.js +app/javascript/legacy/events/index/page.js +app/javascript/legacy/events/listing-item/index.js +app/javascript/legacy/events/listings/index.js +app/javascript/legacy/events/new/wizard.js +app/javascript/legacy/events/show/editor.js +app/javascript/legacy/events/show/event_donation.js +app/javascript/legacy/events/show/page.js +app/javascript/legacy/events/show/tour.js +app/javascript/legacy/events/stats/page.js +app/javascript/legacy/gift_options/admin.js +app/javascript/legacy/gift_options/index.js +app/javascript/legacy/nonprofits/btn/page.js +app/javascript/legacy/nonprofits/button/amounts.js +app/javascript/legacy/nonprofits/button/appearance.js +app/javascript/legacy/nonprofits/button/designations.js +app/javascript/legacy/nonprofits/button/footer.js +app/javascript/legacy/nonprofits/button/hide-dedication.js +app/javascript/legacy/nonprofits/button/page.js +app/javascript/legacy/nonprofits/button/preview.js +app/javascript/legacy/nonprofits/button/thank-you.js +app/javascript/legacy/nonprofits/button/type.js +app/javascript/legacy/nonprofits/cards/edit/page.js +app/javascript/legacy/nonprofits/dashboard/page.js +app/javascript/legacy/nonprofits/dashboard/tour.js +app/javascript/legacy/nonprofits/donate/amount-step.js +app/javascript/legacy/nonprofits/donate/dedication-form.js +app/javascript/legacy/nonprofits/donate/followup-step.js +app/javascript/legacy/nonprofits/donate/get-params.js +app/javascript/legacy/nonprofits/donate/info-step.js +app/javascript/legacy/nonprofits/donate/page.js +app/javascript/legacy/nonprofits/donate/payment-step.js +app/javascript/legacy/nonprofits/donate/plugins-available/alwaysAnonymous.js +app/javascript/legacy/nonprofits/donate/plugins-available/default-recurring.js +app/javascript/legacy/nonprofits/donate/plugins-available/dummy.js +app/javascript/legacy/nonprofits/donate/plugins-available/ibanonly.js +app/javascript/legacy/nonprofits/donate/plugins-available/minamount.js +app/javascript/legacy/nonprofits/donate/plugins-available/minimalForm.js +app/javascript/legacy/nonprofits/donate/plugins-available/piwik.js +app/javascript/legacy/nonprofits/donate/plugins-available/prefill-identity.js +app/javascript/legacy/nonprofits/donate/plugins-available/prettify.js +app/javascript/legacy/nonprofits/donate/plugins-available/select-amount.js +app/javascript/legacy/nonprofits/donate/wizard.js +app/javascript/legacy/nonprofits/edit/page.js +app/javascript/legacy/nonprofits/payments_chart.js +app/javascript/legacy/nonprofits/payments/index/page.js +app/javascript/legacy/nonprofits/payments/index/payment_details.js +app/javascript/legacy/nonprofits/payments/index/tour.js +app/javascript/legacy/nonprofits/payouts/create.js +app/javascript/legacy/nonprofits/payouts/index/page.js +app/javascript/legacy/nonprofits/payouts/index/verify_identity.js +app/javascript/legacy/nonprofits/recurring_donations/index/create.js +app/javascript/legacy/nonprofits/recurring_donations/index/delete.js +app/javascript/legacy/nonprofits/recurring_donations/index/page.js +app/javascript/legacy/nonprofits/recurring_donations/index/tour.js +app/javascript/legacy/nonprofits/recurring_donations/index/update.js +app/javascript/legacy/nonprofits/recurring_donations/readable_interval.js +app/javascript/legacy/nonprofits/reports/modal.js +app/javascript/legacy/nonprofits/show/page.js +app/javascript/legacy/nonprofits/show/tour.js +app/javascript/legacy/nonprofits/supporter_form/page.js +app/javascript/legacy/nonprofits/supporters/create.js +app/javascript/legacy/nonprofits/supporters/get_name.js +app/javascript/legacy/nonprofits/supporters/import/regex-header-matchers.js +app/javascript/legacy/nonprofits/supporters/index/action_recipient.js +app/javascript/legacy/nonprofits/supporters/index/bulk_delete.js +app/javascript/legacy/nonprofits/supporters/index/import.js +app/javascript/legacy/nonprofits/supporters/index/list_supporters.js +app/javascript/legacy/nonprofits/supporters/index/manage_custom_fields.js +app/javascript/legacy/nonprofits/supporters/index/manage_tags.js +app/javascript/legacy/nonprofits/supporters/index/merge_supporters.js +app/javascript/legacy/nonprofits/supporters/index/page.js +app/javascript/legacy/nonprofits/supporters/index/sidepanel/generate-content.js +app/javascript/legacy/nonprofits/supporters/index/sidepanel/index.js +app/javascript/legacy/nonprofits/supporters/index/sidepanel/offsite-donation-form.js +app/javascript/legacy/nonprofits/supporters/index/sidepanel/supporter-actions.js +app/javascript/legacy/nonprofits/supporters/index/sidepanel/supporter-activities.js +app/javascript/legacy/nonprofits/supporters/index/sidepanel/supporter-note-form.js +app/javascript/legacy/nonprofits/supporters/index/supporter_details.js +app/javascript/legacy/nonprofits/supporters/index/tags_and_fields_shared_methods.js +app/javascript/legacy/nonprofits/supporters/index/timeline.js +app/javascript/legacy/nonprofits/supporters/index/tour.js +app/javascript/legacy/nonprofits/supporters/new/page.js +app/javascript/legacy/page.js +app/javascript/legacy/pages/show/index.js +app/javascript/legacy/recurring_donations/edit/followup-step.js +app/javascript/legacy/recurring_donations/edit/get-params.js +app/javascript/legacy/recurring_donations/edit/page.js +app/javascript/legacy/recurring_donations/index.js +app/javascript/legacy/refunds/create.js +app/javascript/legacy/settings/index/branding/index.js +app/javascript/legacy/settings/index/branding/view.js +app/javascript/legacy/settings/index/email-settings/index.js +app/javascript/legacy/settings/index/email-settings/view.js +app/javascript/legacy/settings/index/integrations/index.js +app/javascript/legacy/settings/index/page.js +app/javascript/legacy/stripe_wrapper/page.js +app/javascript/legacy/super-admin/fullcontact-table.js +app/javascript/legacy/super-admin/nonprofits-table.js +app/javascript/legacy/super-admin/page.js +app/javascript/legacy/super-admin/profiles-table.js +app/javascript/legacy/supporters/index.js +app/javascript/legacy/supporters/settings/mailchimp-integration-settings.js +app/javascript/legacy/ticket_levels/get_totals.js +app/javascript/legacy/ticket_levels/manage.js +app/javascript/legacy/tickets/index/delete-ticket.js +app/javascript/legacy/tickets/index/page.js +app/javascript/legacy/tickets/new.js +app/javascript/legacy/tickets/wizard.js +app/javascript/legacy/widget/donate-button.v2.js +app/javascript/packs/application.js +app/javascript/packs/create_new_offsite_payment_pane.js +app/javascript/packs/donate-button-v2.js +app/javascript/packs/edit_payment_pane.js +app/javascript/packs/i18n.js +app/javascript/packs/page__bank_accounts__confirm.js +app/javascript/packs/page__campaigns__index.js +app/javascript/packs/page__campaigns__peer_to_peer.js +app/javascript/packs/page__campaigns__show.js +app/javascript/packs/page__campaigns__supporters__index.js +app/javascript/packs/page__events__index.js +app/javascript/packs/page__events__show.js +app/javascript/packs/page__events__stats.js +app/javascript/packs/page__nonprofits__btn.js +app/javascript/packs/page__nonprofits__button.js +app/javascript/packs/page__nonprofits__cards__edit.js +app/javascript/packs/page__nonprofits__dashboard.js +app/javascript/packs/page__nonprofits__donate.js +app/javascript/packs/page__nonprofits__edit.js +app/javascript/packs/page__nonprofits__payments__index.js +app/javascript/packs/page__nonprofits__payouts__index.js +app/javascript/packs/page__nonprofits__recurring_donations__index.js +app/javascript/packs/page__nonprofits__show.js +app/javascript/packs/page__nonprofits__supporter_form.js +app/javascript/packs/page__nonprofits__supporters__index.js +app/javascript/packs/page__nonprofits__supporters__new.js +app/javascript/packs/page__profiles__donations_history.js +app/javascript/packs/page__profiles__fundraisers.js +app/javascript/packs/page__profiles__show.js +app/javascript/packs/page__recurring_donations__edit.js +app/javascript/packs/page__settings__index.js +app/javascript/packs/page__stripe_wrapper.js +app/javascript/packs/page__super-admin.js +app/javascript/packs/page__tickets__index.js +app/javascript/packs/server_rendering.js +babel.config.js +config/webpack/development.js +config/webpack/environment.js +config/webpack/loaders/erb.js +config/webpack/production.js +config/webpack/test.js +lib/templates/rails/assets/javascript.js +postcss.config.js +setupTests.js +.eslintrc.js + +# old es files +app/javascript/legacy/bank_accounts/confirm/index.es6 +app/javascript/legacy/bank_accounts/create.es6 +app/javascript/legacy/campaigns/supporters/index/index.es6 +app/javascript/legacy/campaigns/supporters/index/meta.es6 +app/javascript/legacy/campaigns/supporters/index/metrics.es6 +app/javascript/legacy/campaigns/supporters/index/supporter-list.es6 +app/javascript/legacy/campaigns/supporters/index/supporter-table.es6 +app/javascript/legacy/cards/create-frp.es6 +app/javascript/legacy/common/direct-to-s3-upload.es6 +app/javascript/legacy/common/editor/froala.es6 +app/javascript/legacy/common/editor/quill.es6 +app/javascript/legacy/common/ff-form-validation/index.es6 +app/javascript/legacy/common/ff-form-validation/lib/currency-regex.es6 +app/javascript/legacy/common/ff-form-validation/lib/email-regex.es6 +app/javascript/legacy/common/ff-form-validation/lib/readable-prop.es6 +app/javascript/legacy/common/post-form-data.es6 +app/javascript/legacy/components/card-form.es6 +app/javascript/legacy/components/color-picker.es6 +app/javascript/legacy/components/sepa-form.es6 +app/javascript/legacy/components/show-more-button.es6 +app/javascript/legacy/components/supporter-address-form.es6 +app/javascript/legacy/components/tables/search.es6 +app/javascript/legacy/nonprofits/cards/edit/index.es6 +app/javascript/legacy/nonprofits/payouts/index/identity-verification-form.es6 +app/javascript/legacy/nonprofits/recurring_donations/index/index.es6 +app/javascript/legacy/nonprofits/supporter_form/index.es6 +app/javascript/legacy/nonprofits/supporters/import/index.es6 +app/javascript/legacy/recurring_donations/edit/amount-step.es6 +app/javascript/legacy/recurring_donations/edit/branded-wizard.es6 +app/javascript/legacy/recurring_donations/edit/card-form.es6 +app/javascript/legacy/recurring_donations/edit/change-amount-wizard.es6 +app/javascript/legacy/recurring_donations/edit/custom-nonprofit-branding.es6 +app/javascript/legacy/recurring_donations/edit/index.es6 +app/javascript/legacy/recurring_donations/edit/payment-step.es6 +app/javascript/legacy/stripe_wrapper/index.es6 +app/javascript/legacy/supporters/info-card.es6 + +# jsx files +app/javascript/stories/index.jsx + +# tsx files +app/javascript/components/RegistrationPage.tsx +app/javascript/legacy_react/app/create_new_offsite_payment_pane.tsx +app/javascript/legacy_react/app/edit_payment_pane.tsx +app/javascript/legacy_react/javascripts/app/create_new_offsite_payment_pane.tsx +app/javascript/legacy_react/javascripts/app/edit_payment_pane.tsx +app/javascript/legacy_react/javascripts/app/registration_page.tsx +app/javascript/legacy_react/src/components/common/BootstrapWrapper.tsx +app/javascript/legacy_react/src/components/common/DefaultCloseButton.tsx +app/javascript/legacy_react/src/components/common/fields.tsx +app/javascript/legacy_react/src/components/common/form/ReactForm.tsx +app/javascript/legacy_react/src/components/common/form/ReactInput.spec.tsx +app/javascript/legacy_react/src/components/common/form/ReactInput.tsx +app/javascript/legacy_react/src/components/common/form/ReactMaskedInput.tsx +app/javascript/legacy_react/src/components/common/form/ReactSelect.spec.tsx +app/javascript/legacy_react/src/components/common/form/ReactSelect.tsx +app/javascript/legacy_react/src/components/common/form/ReactTextarea.spec.tsx +app/javascript/legacy_react/src/components/common/form/ReactTextarea.tsx +app/javascript/legacy_react/src/components/common/LabeledFieldComponent.spec.tsx +app/javascript/legacy_react/src/components/common/LabeledFieldComponent.tsx +app/javascript/legacy_react/src/components/common/layout.spec.tsx +app/javascript/legacy_react/src/components/common/layout.tsx +app/javascript/legacy_react/src/components/common/Modal.spec.tsx +app/javascript/legacy_react/src/components/common/Modal.tsx +app/javascript/legacy_react/src/components/common/ProgressableButton.spec.tsx +app/javascript/legacy_react/src/components/common/ProgressableButton.tsx +app/javascript/legacy_react/src/components/common/Root.tsx +app/javascript/legacy_react/src/components/common/ScreenReaderOnlyText.spec.tsx +app/javascript/legacy_react/src/components/common/ScreenReaderOnlyText.tsx +app/javascript/legacy_react/src/components/common/selectable_table_row/connect.tsx +app/javascript/legacy_react/src/components/common/selectable_table_row/SelectableTableRow.spec.tsx +app/javascript/legacy_react/src/components/common/selectable_table_row/SelectableTableRow.tsx +app/javascript/legacy_react/src/components/common/Spinner.spec.tsx +app/javascript/legacy_react/src/components/common/Spinner.tsx +app/javascript/legacy_react/src/components/common/StandardFieldComponent.spec.tsx +app/javascript/legacy_react/src/components/common/StandardFieldComponent.tsx +app/javascript/legacy_react/src/components/common/svg/checkbox.tsx +app/javascript/legacy_react/src/components/common/svg/CloseButton.tsx +app/javascript/legacy_react/src/components/common/test/react_test_helpers.tsx +app/javascript/legacy_react/src/components/common/wizard/abstract_wizard_state.spec.tsx +app/javascript/legacy_react/src/components/common/wizard/RAT/abstract_tabcomponent_state.spec.tsx +app/javascript/legacy_react/src/components/common/wizard/RAT/Wrapper.spec.tsx +app/javascript/legacy_react/src/components/common/wizard/Wizard.spec.tsx +app/javascript/legacy_react/src/components/common/wizard/Wizard.tsx +app/javascript/legacy_react/src/components/common/wizard/WizardPanel.spec.tsx +app/javascript/legacy_react/src/components/common/wizard/WizardPanel.tsx +app/javascript/legacy_react/src/components/common/wizard/WizardTab.spec.tsx +app/javascript/legacy_react/src/components/common/wizard/WizardTab.tsx +app/javascript/legacy_react/src/components/common/wizard/WizardTabList.tsx +app/javascript/legacy_react/src/components/create_offsite_payment_pane/CreateOffsitePaymentPane.tsx +app/javascript/legacy_react/src/components/edit_payment_pane/EditPaymentPane.tsx +app/javascript/legacy_react/src/components/registration_page/NonprofitInfoForm.spec.tsx +app/javascript/legacy_react/src/components/registration_page/NonprofitInfoForm.tsx +app/javascript/legacy_react/src/components/registration_page/NonprofitInfoPanel.spec.tsx +app/javascript/legacy_react/src/components/registration_page/NonprofitInfoPanel.tsx +app/javascript/legacy_react/src/components/registration_page/RegistrationPage.tsx +app/javascript/legacy_react/src/components/registration_page/RegistrationWizard.tsx +app/javascript/legacy_react/src/components/registration_page/UserInfoForm.tsx +app/javascript/legacy_react/src/components/registration_page/UserInfoPanel.spec.tsx +app/javascript/legacy_react/src/components/registration_page/UserInfoPanel.tsx +app/javascript/legacy_react/src/components/session_login_page/SessionLoginForm.tsx +app/javascript/legacy_react/src/components/session_login_page/SessionLoginPage.tsx \ No newline at end of file