Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Kris Maglione b729a30707 Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.

For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:

 * The rule for opening brace alignment can only be applied globally, and
   doesn't make exceptions for top-level functions. I chose to turn it on, and
   change the brace style of existing top-level functions that violated it,
   since the rule seemed worth using, and that's the direction most Toolkit JS
   code has been headed anyway.

 * The rule for switch/case statements requires an added indentation level for
   case statements. Most of our switch statements did not use an extra level
   of indentation, and I initially wrote the rule to enforce that style, until
   I came across case statements that used blocks, and required the extra
   indentation level for sanity.

--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
accessible Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats 2015-12-01 02:21:25 +13:00
addon-sdk Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
b2g Merge m-c to b2ginbound, a=merge 2015-12-03 16:11:31 -08:00
browser Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm 2015-12-02 16:58:53 -08:00
build Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
caps Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
chrome Bug 1186787 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in chrome/ with iterators. r=froydnj. 2015-11-17 17:58:36 -08:00
config Bug 1229740 - add <array> to the list of wrapped system headers; r=glandium 2015-12-02 07:21:37 -05:00
db/sqlite3 Bug 1214713 - Upgrade SQLite to version 3.9.1. r=mak 2015-10-21 12:19:31 -04:00
devtools Bug 1220011 - Yield on 'console close' command in test (fixes permafail with bug 1224294 applied); r=jwalker 2015-12-03 10:02:37 -05:00
docshell Backed out changeset 720b3adb1df5 (bug 1137681) since this need to be out too on a CLOSED TREE 2015-12-02 11:50:27 +01:00
dom merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
editor merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
embedding Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond. 2015-11-16 00:35:18 -08:00
extensions Bug 1228174 - Add validator to the en-US dictionary. r=ehsan 2015-11-26 07:13:03 +07:00
gfx Bug 1069417 - Fix an error introduced when rebasing across bug 1021845 to reopen a CLOSED TREE. r=bustage 2015-12-03 02:20:35 -05:00
gradle/wrapper Bug 1220633 - Gradle wrapper: Use distribution with sources. r=trivial 2015-11-06 17:13:31 +01:00
hal Bug 1207221 - Do not prevent the system app from vibrating when it is hidden. r=bz r=dhylands 2015-11-17 10:18:38 +01:00
image Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
intl Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
ipc merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
js Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
layout Bug 1229739 - Use the color of shadow if available for drawing emphasis marks in shadow. r=jfkthame 2015-12-04 16:28:34 +11:00
media Bug 1230026 - Support 'webm' initDataType format for MP4 ClearKey initData. r=gerald 2015-12-04 07:24:11 +13:00
memory Bug 1229395 - Part 2 - Rely on MALLOC_H to provide function prototypes for MOZ_NATIVE_JEMALLOC. r=glandium 2015-12-01 16:54:44 +00:00
mfbt Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
mobile Bug 1220315 - Use alertDialogTheme on v21+ to add accentColor. r=sebastian 2015-12-02 13:50:26 -08:00
modules merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
mozglue Bug 1222819 - Add Orbit Downloader .dlls to Windows blocklist. r=aklotz 2015-12-01 12:40:25 -07:00
netwerk merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
nsprpub Bug 1216283 - land NSPR_4_11_RTM, r=dkeeler 2015-11-18 18:43:32 +01:00
other-licenses Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium. 2015-10-19 18:05:20 -07:00
parser Bug 1227554 - Default to NullPrincipal if doc is not available within expatdriver. r=bz 2015-12-02 10:44:59 -08:00
probes
python merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
rdf Bug 1225682 - Don't use nsAuto{,C}String as class member variables in rdf/. r=Pike 2015-12-02 11:04:37 +09:00
security Bug 1207146 - Add a link to expert technical information in the cert error page. r=Gijs,keeler 2015-12-04 19:46:13 +02:00
services Bug 1229986 - get Sync tps tests starting again. r=whimboo 2015-12-04 12:55:57 +11:00
startupcache Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
storage Bug 1225923 - part 1 - convert all needs-to-copy instances of AppendElement(nsDependentString(...)); r=erahm 2015-11-18 10:25:19 -05:00
testing merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
toolkit Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm 2015-12-02 16:58:53 -08:00
tools Backed out changeset 0d6721e243d3 (bug 1228339) for build bustage 2015-12-02 14:09:40 +05:30
uriloader Bug 1116478 - Open web content handlers in the proper tab in e10s. r=billm 2015-12-03 15:04:28 -08:00
view Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond. 2015-12-02 14:32:55 -08:00
webapprt Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE 2015-11-26 08:38:16 +09:00
widget Bug 1215494 - Don't set b2g.safe_mode pref in child process. r=fabrice 2015-12-03 18:23:22 +01:00
xpcom Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
xpfe Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js 2015-12-03 15:56:59 -08:00
xulrunner Bug 1229341 - Remove .source flag on BRANDING_FILES. r=gps 2015-12-03 13:34:02 +09:00
.clang-format Bug 961541 - Make Clang-Format ignore all comments. r=mystor 2015-06-26 12:38:44 -07:00
.clang-format-ignore
.eslintignore Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm 2015-12-02 16:58:53 -08:00
.eslintrc Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-30 11:42:25 +00:00
.gdbinit Backed out changeset 047d21f101de (bug 846018) 2014-11-13 17:11:25 -05:00
.gitignore Bug 1214256 - Add talos virtualenv and tp5n files to .hgignore and .gitignore. r=gps 2015-10-13 12:35:42 -04:00
.hgignore merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
.hgtags No bug - Tagging mozilla-central 67a788db9f07822cfef52351bbbe3745dff8bd7f with FIREFOX_AURORA_44_BASE a=release DONTBUILD CLOSED TREE 2015-10-29 07:38:29 -04:00
.lldbinit
.ycm_extra_conf.py Bug 1162714 - Don't let YCM generate machc. r=ehsan 2015-05-07 13:48:00 +02:00
AUTHORS Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb 2015-08-12 20:19:11 -07:00
Android.mk
CLOBBER Bug 1210165 - ICU update requires a CLOBBER. r=waldo 2015-11-20 11:38:15 +00:00
GNUmakefile Bug 794723 - Add a default makefile which wraps mach. r=gps 2015-02-06 10:26:00 -08:00
LEGAL
LICENSE
Makefile.in Bug 1229233 - Add a (incomplete) end-to-end build test. r=gps 2015-12-01 13:57:52 +09:00
README.txt No bug, Update README.txt for ftp changes, r=bustage-check CLOSED TREE 2015-08-30 21:53:27 +12:00
aclocal.m4 Bug 1205012 - Allow rust source code in SpiderMonkey; r=mshal 2015-09-18 13:55:29 -07:00
build.gradle Bug 1220887 - Make 'base' Gradle project in the srcdir. r=sebastian 2015-11-03 15:04:39 -08:00
client.mk Fixup for bug 1188766 for valgrind bustage on a CLOSED TREE. r=me 2015-08-11 07:45:36 +09:00
client.py
configure.in merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
gradle.properties Bug 1218370 - Use Gradle daemon in srcdir builds. r=me 2015-10-26 09:28:14 -07:00
gradlew Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian 2015-10-21 15:07:55 -07:00
mach Bug 1058923 - Package mach in tests.zip; create bootstrap script for test package, r=gps 2015-05-01 12:20:55 -04:00
moz.build Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg 2015-10-14 08:02:34 +09:00
mozilla-config.h.in Bug 1167474 - Remove ELFHACK_BUILD hack. r=mshal 2015-05-26 16:17:55 +09:00
settings.gradle Bug 1228430 - Move build.gradle out of mobile/android/base. r=me 2015-11-26 13:02:00 -08:00
test.mozbuild Bug 1229233 - Add a (incomplete) end-to-end build test. r=gps 2015-12-01 13:57:52 +09:00

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    http://nightly.mozilla.org/