Files
tubestation/browser/components/asrouter
Mark Banner c19488bd61 Bug 1878554 - Remove deprecated ESLint rules from aboutwelcome/asrouter/newtab configs. r=aminomancer,omc-reviewers
These rules are node specific and not really useful in mozilla central:
handle-callback-err, no-buffer-constructor, no-path-concat, no-process-exit
These rules are not useful as require is only used in configurations:
no-new-require, no-mixed-requires
Prettier already enforces max-statements-per-line
lines-between-class-members isn't handled separately, but if we want to do that we should decide on it globally.

Differential Revision: https://phabricator.services.mozilla.com/D200588
2024-02-06 22:32:53 +00:00
..

Activity Stream Router

Preferences browser.newtab.activity-stream.asrouter.*

Name Used for Type Example value
allowHosts Allow a host in order to fetch messages from its endpoint [String] ["gist.github.com", "gist.githubusercontent.com", "localhost:8000"]
providers.cfr Message provider options for cfr Object see below
providers.onboarding Message provider options for onboarding Object see below
useRemoteL10n Controls whether to use the remote Fluent files for l10n, default as true Boolean `[true

Message providers examples

{
  "id" : "onboarding",
  "enabled": true,
  "type" : "local",
  "localProvider" : "OnboardingMessageProvider"
}

Message format documentation