gecko-dev/.eslintignore
Cosmin Sabou 384f989fbf Backed out changeset a8fef6308479 (bug 1457287) for conflicts during backout. CLOSED TREE
--HG--
rename : browser/components/payments/.eslintrc.js => toolkit/components/payments/.eslintrc.js
rename : browser/components/payments/content/paymentDialogFrameScript.js => toolkit/components/payments/content/paymentDialogFrameScript.js
rename : browser/components/payments/content/paymentDialogWrapper.css => toolkit/components/payments/content/paymentDialogWrapper.css
rename : browser/components/payments/content/paymentDialogWrapper.js => toolkit/components/payments/content/paymentDialogWrapper.js
rename : browser/components/payments/content/paymentDialogWrapper.xhtml => toolkit/components/payments/content/paymentDialogWrapper.xhtml
rename : browser/components/payments/docs/index.rst => toolkit/components/payments/docs/index.rst
rename : browser/components/payments/jar.mn => toolkit/components/payments/jar.mn
rename : browser/components/payments/moz.build => toolkit/components/payments/moz.build
rename : browser/components/payments/paymentUIService.js => toolkit/components/payments/paymentUIService.js
rename : browser/components/payments/payments.manifest => toolkit/components/payments/payments.manifest
rename : browser/components/payments/res/PaymentsStore.js => toolkit/components/payments/res/PaymentsStore.js
rename : browser/components/payments/res/components/address-option.css => toolkit/components/payments/res/components/address-option.css
rename : browser/components/payments/res/components/address-option.js => toolkit/components/payments/res/components/address-option.js
rename : browser/components/payments/res/components/basic-card-option.css => toolkit/components/payments/res/components/basic-card-option.css
rename : browser/components/payments/res/components/basic-card-option.js => toolkit/components/payments/res/components/basic-card-option.js
rename : browser/components/payments/res/components/currency-amount.js => toolkit/components/payments/res/components/currency-amount.js
rename : browser/components/payments/res/components/labelled-checkbox.js => toolkit/components/payments/res/components/labelled-checkbox.js
rename : browser/components/payments/res/components/payment-details-item.css => toolkit/components/payments/res/components/payment-details-item.css
rename : browser/components/payments/res/components/payment-details-item.js => toolkit/components/payments/res/components/payment-details-item.js
rename : browser/components/payments/res/components/rich-option.js => toolkit/components/payments/res/components/rich-option.js
rename : browser/components/payments/res/components/rich-select.css => toolkit/components/payments/res/components/rich-select.css
rename : browser/components/payments/res/components/rich-select.js => toolkit/components/payments/res/components/rich-select.js
rename : browser/components/payments/res/components/shipping-option.css => toolkit/components/payments/res/components/shipping-option.css
rename : browser/components/payments/res/components/shipping-option.js => toolkit/components/payments/res/components/shipping-option.js
rename : browser/components/payments/res/containers/address-form.js => toolkit/components/payments/res/containers/address-form.js
rename : browser/components/payments/res/containers/address-picker.js => toolkit/components/payments/res/containers/address-picker.js
rename : browser/components/payments/res/containers/basic-card-form.js => toolkit/components/payments/res/containers/basic-card-form.js
rename : browser/components/payments/res/containers/order-details.css => toolkit/components/payments/res/containers/order-details.css
rename : browser/components/payments/res/containers/order-details.js => toolkit/components/payments/res/containers/order-details.js
rename : browser/components/payments/res/containers/payment-dialog.js => toolkit/components/payments/res/containers/payment-dialog.js
rename : browser/components/payments/res/containers/payment-method-picker.js => toolkit/components/payments/res/containers/payment-method-picker.js
rename : browser/components/payments/res/containers/shipping-option-picker.js => toolkit/components/payments/res/containers/shipping-option-picker.js
rename : browser/components/payments/res/debugging.css => toolkit/components/payments/res/debugging.css
rename : browser/components/payments/res/debugging.html => toolkit/components/payments/res/debugging.html
rename : browser/components/payments/res/debugging.js => toolkit/components/payments/res/debugging.js
rename : browser/components/payments/res/mixins/ObservedPropertiesMixin.js => toolkit/components/payments/res/mixins/ObservedPropertiesMixin.js
rename : browser/components/payments/res/mixins/PaymentStateSubscriberMixin.js => toolkit/components/payments/res/mixins/PaymentStateSubscriberMixin.js
rename : browser/components/payments/res/paymentRequest.css => toolkit/components/payments/res/paymentRequest.css
rename : browser/components/payments/res/paymentRequest.js => toolkit/components/payments/res/paymentRequest.js
rename : browser/components/payments/res/paymentRequest.xhtml => toolkit/components/payments/res/paymentRequest.xhtml
rename : browser/components/payments/res/unprivileged-fallbacks.js => toolkit/components/payments/res/unprivileged-fallbacks.js
rename : browser/components/payments/res/vendor/custom-elements.min.js => toolkit/components/payments/res/vendor/custom-elements.min.js
rename : browser/components/payments/res/vendor/custom-elements.min.js.map => toolkit/components/payments/res/vendor/custom-elements.min.js.map
rename : browser/components/payments/server.py => toolkit/components/payments/server.py
rename : browser/components/payments/test/PaymentTestUtils.jsm => toolkit/components/payments/test/PaymentTestUtils.jsm
rename : browser/components/payments/test/browser/.eslintrc.js => toolkit/components/payments/test/browser/.eslintrc.js
rename : browser/components/payments/test/browser/blank_page.html => toolkit/components/payments/test/browser/blank_page.html
rename : browser/components/payments/test/browser/browser.ini => toolkit/components/payments/test/browser/browser.ini
rename : browser/components/payments/test/browser/browser_address_edit.js => toolkit/components/payments/test/browser/browser_address_edit.js
rename : browser/components/payments/test/browser/browser_card_edit.js => toolkit/components/payments/test/browser/browser_card_edit.js
rename : browser/components/payments/test/browser/browser_change_shipping.js => toolkit/components/payments/test/browser/browser_change_shipping.js
rename : browser/components/payments/test/browser/browser_host_name.js => toolkit/components/payments/test/browser/browser_host_name.js
rename : browser/components/payments/test/browser/browser_profile_storage.js => toolkit/components/payments/test/browser/browser_profile_storage.js
rename : browser/components/payments/test/browser/browser_request_serialization.js => toolkit/components/payments/test/browser/browser_request_serialization.js
rename : browser/components/payments/test/browser/browser_request_shipping.js => toolkit/components/payments/test/browser/browser_request_shipping.js
rename : browser/components/payments/test/browser/browser_request_summary.js => toolkit/components/payments/test/browser/browser_request_summary.js
rename : browser/components/payments/test/browser/browser_shippingaddresschange_error.js => toolkit/components/payments/test/browser/browser_shippingaddresschange_error.js
rename : browser/components/payments/test/browser/browser_show_dialog.js => toolkit/components/payments/test/browser/browser_show_dialog.js
rename : browser/components/payments/test/browser/browser_total.js => toolkit/components/payments/test/browser/browser_total.js
rename : browser/components/payments/test/browser/head.js => toolkit/components/payments/test/browser/head.js
rename : browser/components/payments/test/mochitest/.eslintrc.js => toolkit/components/payments/test/mochitest/.eslintrc.js
rename : browser/components/payments/test/mochitest/formautofill/mochitest.ini => toolkit/components/payments/test/mochitest/formautofill/mochitest.ini
rename : browser/components/payments/test/mochitest/formautofill/test_editCreditCard.html => toolkit/components/payments/test/mochitest/formautofill/test_editCreditCard.html
rename : browser/components/payments/test/mochitest/mochitest.ini => toolkit/components/payments/test/mochitest/mochitest.ini
rename : browser/components/payments/test/mochitest/payments_common.js => toolkit/components/payments/test/mochitest/payments_common.js
rename : browser/components/payments/test/mochitest/test_ObservedPropertiesMixin.html => toolkit/components/payments/test/mochitest/test_ObservedPropertiesMixin.html
rename : browser/components/payments/test/mochitest/test_PaymentStateSubscriberMixin.html => toolkit/components/payments/test/mochitest/test_PaymentStateSubscriberMixin.html
rename : browser/components/payments/test/mochitest/test_PaymentsStore.html => toolkit/components/payments/test/mochitest/test_PaymentsStore.html
rename : browser/components/payments/test/mochitest/test_address_form.html => toolkit/components/payments/test/mochitest/test_address_form.html
rename : browser/components/payments/test/mochitest/test_address_picker.html => toolkit/components/payments/test/mochitest/test_address_picker.html
rename : browser/components/payments/test/mochitest/test_basic_card_form.html => toolkit/components/payments/test/mochitest/test_basic_card_form.html
rename : browser/components/payments/test/mochitest/test_currency_amount.html => toolkit/components/payments/test/mochitest/test_currency_amount.html
rename : browser/components/payments/test/mochitest/test_labelled_checkbox.html => toolkit/components/payments/test/mochitest/test_labelled_checkbox.html
rename : browser/components/payments/test/mochitest/test_order_details.html => toolkit/components/payments/test/mochitest/test_order_details.html
rename : browser/components/payments/test/mochitest/test_payer_address_picker.html => toolkit/components/payments/test/mochitest/test_payer_address_picker.html
rename : browser/components/payments/test/mochitest/test_payment_details_item.html => toolkit/components/payments/test/mochitest/test_payment_details_item.html
rename : browser/components/payments/test/mochitest/test_payment_dialog.html => toolkit/components/payments/test/mochitest/test_payment_dialog.html
rename : browser/components/payments/test/mochitest/test_payment_method_picker.html => toolkit/components/payments/test/mochitest/test_payment_method_picker.html
rename : browser/components/payments/test/mochitest/test_rich_select.html => toolkit/components/payments/test/mochitest/test_rich_select.html
rename : browser/components/payments/test/mochitest/test_shipping_option_picker.html => toolkit/components/payments/test/mochitest/test_shipping_option_picker.html
rename : browser/components/payments/test/unit/.eslintrc.js => toolkit/components/payments/test/unit/.eslintrc.js
rename : browser/components/payments/test/unit/head.js => toolkit/components/payments/test/unit/head.js
rename : browser/components/payments/test/unit/test_response_creation.js => toolkit/components/payments/test/unit/test_response_creation.js
rename : browser/components/payments/test/unit/xpcshell.ini => toolkit/components/payments/test/unit/xpcshell.ini
2018-04-27 09:08:33 +03:00

407 lines
11 KiB
Plaintext

# Always ignore node_modules.
**/node_modules/**/*.*
# Always ignore crashtests - specially crafted files that originally caused a
# crash.
**/crashtests/**
# Also ignore reftest - specially crafted to produce expected output.
**/reftest/**
# Exclude expected objdirs.
obj*/**
# We ignore all these directories by default, until we get them enabled.
# If you are enabling a directory, please add directory specific exclusions
# below.
docshell/**
editor/**
extensions/cookie/**
extensions/spellcheck/**
extensions/universalchardet/**
gfx/layers/**
gfx/tests/browser/**
gfx/tests/chrome/**
gfx/tests/mochitest/**
gfx/tests/unit/**
image/**
layout/**
memory/replace/dmd/test/**
modules/**
netwerk/base/NetUtil.jsm
netwerk/cookie/test/browser/**
netwerk/cookie/test/unit/**
netwerk/protocol/**
netwerk/dns/**
netwerk/test/browser/**
netwerk/test/httpserver/**
netwerk/test/mochitests/**
netwerk/test/unit*/**
netwerk/wifi/**
parser/**
rdf/**
tools/update-packaging/**
uriloader/exthandler/**
uriloader/exthandler/tests/mochitest/**
widget/headless/tests/**
widget/tests/**
# We currently have no js files in these directories, so we ignore them by
# default to aid ESLint's performance.
build/**
config/**
db/**
embedding/**
gradle/**
hal/**
mfbt/**
mozglue/**
nsprpub/**
other-licenses/**
probes/**
startupcache/**
xpfe/**
# These directories only contain crashtests, but we still skip the whole
# directory to aid performance.
view/**
# browser/ exclusions
browser/app/**
browser/branding/**/firefox-branding.js
# Gzipped test file.
browser/base/content/test/general/gZipOfflineChild.html
browser/base/content/test/urlbar/file_blank_but_not_blank.html
# Test files that are really json not js, and don't need to be linted.
browser/components/sessionstore/test/unit/data/sessionstore_valid.js
browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
# This file is split into two in order to keep it as a valid json file
# for documentation purposes (policies.json) but to be accessed by the
# code as a .jsm (schema.jsm)
browser/components/enterprisepolicies/schemas/schema.jsm
# generated & special files in cld2
browser/components/translation/cld2/**
# Screenshots and Follow-on search are imported as a system add-on and have
# their own lint rules currently.
browser/extensions/followonsearch/**
browser/extensions/screenshots/**
browser/extensions/pdfjs/content/build**
browser/extensions/pdfjs/content/web**
# generated or library files in pocket
browser/extensions/pocket/content/panels/js/tmpl.js
browser/extensions/pocket/content/panels/js/vendor/**
# generated or library files in activity-stream
browser/extensions/activity-stream/data/content/activity-stream.bundle.js
browser/extensions/activity-stream/test/**
browser/extensions/activity-stream/vendor/**
# The only file in browser/locales/ is pre-processed.
browser/locales/**
# imported from chromium
browser/extensions/mortar/**
# Generated data files
browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
# devtools/ exclusions
devtools/client/inspector/markup/test/doc_markup_events_*.html
devtools/client/inspector/rules/test/doc_media_queries.html
devtools/client/memory/test/chrome/*.html
devtools/client/performance/components/test/test_jit_optimizations_01.html
devtools/client/responsive.html/test/browser/touch.html
devtools/client/shared/components/test/mochitest/*.html
!devtools/client/shared/components/test/mochitest/test_stack-trace.html
devtools/client/shared/shim/test/test_*.html
devtools/client/shared/test/browser_toolbar_webconsole_errors_count.html
devtools/client/storage/test/*.html
!devtools/client/storage/test/storage-cookies.html
!devtools/client/storage/test/storage-overflow.html
!devtools/client/storage/test/storage-search.html
!devtools/client/storage/test/storage-unsecured-iframe.html
!devtools/client/storage/test/storage-unsecured-iframe-usercontextid.html
devtools/server/tests/browser/storage-*.html
!devtools/server/tests/browser/storage-unsecured-iframe.html
devtools/server/tests/browser/stylesheets-nested-iframes.html
devtools/client/shared/webpack/shims/test/test_clipboard.html
devtools/shared/qrcode/tests/mochitest/test_decode.html
devtools/shared/tests/mochitest/*.html
devtools/shared/webconsole/test/test_*.html
# Soon to be removed
devtools/client/commandline/**
# Soon to be removed, the new/ directory is explicitly excluded below due to
# also being an imported repository.
devtools/client/debugger/**
# Soon to be removed
devtools/client/webconsole/old/net/**
devtools/client/webconsole/old/test/**
devtools/client/webconsole/old/webconsole.js
# Ignore devtools imported repositories
devtools/client/debugger/new/**
devtools/client/shared/components/reps/**
# Ignore devtools preferences files
devtools/client/preferences/**
devtools/client/webide/preferences/**
devtools/shared/preferences/**
devtools/startup/preferences/devtools-startup.js
# Ignore devtools third-party libs
devtools/shared/jsbeautify/*
devtools/shared/acorn/*
devtools/shared/gcli/source/*
devtools/shared/node-properties/*
devtools/shared/pretty-fast/*
devtools/shared/sourcemap/*
devtools/shared/sprintfjs/*
devtools/shared/qrcode/decoder/*
devtools/shared/qrcode/encoder/*
devtools/client/inspector/markup/test/lib_*
devtools/client/jsonview/lib/require.js
devtools/client/shared/demangle.js
devtools/client/shared/source-map/*
devtools/client/shared/vendor/*
devtools/client/sourceeditor/codemirror/*.js
devtools/client/sourceeditor/codemirror/**/*.js
devtools/client/sourceeditor/tern/*
devtools/client/sourceeditor/test/cm_mode_ruby.js
devtools/client/sourceeditor/test/codemirror/*
devtools/server/actors/utils/automation-timeline.js
# Ignore devtools files testing sourcemaps / code style
devtools/client/debugger/test/mochitest/code_*.js
devtools/client/framework/test/code_*
devtools/client/inspector/markup/test/events_bundle.js
devtools/client/netmonitor/test/xhr_bundle.js
devtools/client/webconsole/test/mochitest/code_bundle_nosource.js
devtools/client/webconsole/test/mochitest/code_bundle_invalidmap.js
devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
devtools/server/tests/unit/setBreakpoint*
devtools/server/tests/unit/sourcemapped.js
# devtools specific format test file
devtools/server/tests/unit/xpcshell_debugging_script.js
# dom/ exclusions
dom/abort/**
dom/animation/**
dom/archivereader/**
dom/asmjscache/**
dom/audiochannel/**
dom/base/**
dom/battery/**
dom/bindings/**
dom/broadcastchannel/**
dom/browser-element/**
dom/cache/test/mochitest/**
dom/cache/test/xpcshell/**
dom/canvas/**
dom/commandhandler/**
dom/console/**
dom/crypto/**
dom/devicestorage/**
dom/encoding/**
dom/events/**
dom/fetch/**
dom/file/**
dom/filehandle/**
dom/filesystem/**
dom/flex/**
dom/flyweb/**
dom/gamepad/**
dom/geolocation/**
dom/grid/**
dom/html/**
dom/imptests/**
dom/interfaces/**
dom/ipc/**
dom/json/**
dom/jsurl/**
dom/locales/**
dom/manifest/**
dom/mathml/**
dom/media/**
!dom/media/*.js*
dom/messagechannel/**
dom/midi/**
dom/network/**
dom/notification/Notification*.*
dom/notification/test/browser/**
dom/notification/test/unit/**
dom/notification/test/mochitest/**
dom/offline/**
dom/payments/**
dom/performance/**
dom/permission/**
dom/plugins/test/mochitest/**
dom/plugins/test/unit/**
dom/power/**
dom/presentation/Presentation*.js
dom/presentation/provider/**
dom/presentation/tests/mochitest/**
dom/presentation/tests/xpcshell/**
dom/promise/**
dom/push/**
dom/quota/**
dom/res/**
dom/secureelement/**
dom/security/test/contentverifier/**
dom/security/test/cors/**
dom/security/test/csp/**
dom/security/test/general/**
dom/security/test/hsts/**
dom/security/test/mixedcontentblocker/**
dom/security/test/sri/**
dom/security/test/unit/**
dom/serviceworkers/**
dom/smil/**
dom/storage/**
dom/svg/**
dom/system/**
dom/tests/browser/**
dom/tests/html/**
dom/tests/js/**
dom/tests/mochitest/**
dom/tests/unit/**
dom/time/**
dom/u2f/**
dom/url/**
dom/vr/**
dom/webauthn/**
dom/webbrowserpersist/**
dom/webidl/**
dom/websocket/**
dom/workers/**
dom/worklet/**
dom/xbl/**
dom/xhr/**
dom/xml/**
dom/xslt/**
dom/xul/**
# Third-party
dom/media/webvtt/**
# Third-party
gfx/ots/**
gfx/skia/**
# intl/ exclusions
intl/icu/**
intl/locale/**
intl/strres/**
intl/uconv/**
# Exclude everything but self-hosted JS
js/ductwork/**
js/examples/**
js/ipc/**
js/public/**
js/xpconnect/**
js/src/devtools/**
js/src/octane/**
js/src/jit-test/**
js/src/jsapi-tests/binast/**
js/src/tests/**
js/src/Y.js
# Third-party
media/webrtc/trunk/**
# mobile/android/ exclusions
mobile/android/tests/browser/chrome/tp5/**
# Uses `#filter substitution`
mobile/android/app/mobile.js
mobile/android/app/geckoview-prefs.js
# Uses `#expand`
mobile/android/chrome/content/about.js
# Not much JS to lint and non-standard at that
mobile/android/installer/
mobile/android/locales/
# Non-standard `(catch ex if ...)`
mobile/android/chrome/content/browser.js
mobile/android/components/Snippets.js
# Only contains non-standard test files.
python/**
# security/ exclusions (pref files).
security/manager/ssl/security-prefs.js
# NSS / taskcluster only.
security/nss/**
# services/ exclusions
# Uses `#filter substitution`
services/sync/modules/constants.js
services/sync/services-sync.js
# Servo is imported.
servo/**
# Remote protocol exclusions
testing/marionette/atom.js
testing/marionette/legacyaction.js
testing/marionette/client
testing/marionette/doc
testing/marionette/harness
# other testing/ exclusions
# third party modules
testing/mochitest/tests/Harness_sanity/**
testing/mochitest/MochiKit/**
testing/mochitest/tests/MochiKit-1.4.2/**
testing/mochitest/tests/SimpleTest/**
testing/modules/ajv-4.1.1.js
testing/modules/sinon-2.3.2.js
# octothorpe used for pref file comment causes parsing error
testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
testing/talos/talos/scripts/jszip.min.js
testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
testing/talos/talos/tests/canvasmark/**
testing/talos/talos/tests/devtools/addon/content/pages/**
testing/talos/talos/tests/dromaeo/**
testing/talos/talos/tests/v8_7/**
testing/talos/talos/tests/kraken/**
# Runing Talos may extract data here, see bug 1435677.
testing/talos/talos/tests/tp5n/**
testing/web-platform/**
testing/xpcshell/moz-http2/**
testing/xpcshell/node-http2/**
# Third party services
services/common/kinto-http-client.js
services/common/kinto-offline-client.js
# toolkit/ exclusions
# Not part of the default build
toolkit/components/help/**
# Intentionally invalid JS
toolkit/components/workerloader/tests/moduleF-syntax-error.js
# Tests old non-star function generators
toolkit/modules/tests/xpcshell/test_task.js
# External code:
browser/components/payments/res/vendor/*
toolkit/components/microformats/test/**
toolkit/components/microformats/microformat-shiv.js
toolkit/components/reader/Readability.js
toolkit/components/reader/JSDOMParser.js
# Uses preprocessing
toolkit/content/widgets/wizard.xml
toolkit/modules/AppConstants.jsm
toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
# Third party
toolkit/modules/third_party/**
third_party/**