.eslintignore 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. # Always ignore node_modules.
  2. **/node_modules/**/*.*
  3. # Exclude expected objdirs.
  4. obj*/**
  5. # We ignore all these directories by default, until we get them enabled.
  6. # If you are enabling a directory, please add directory specific exclusions
  7. # below.
  8. addon-sdk/**
  9. build/**
  10. caps/**
  11. chrome/**
  12. config/**
  13. db/**
  14. docshell/**
  15. dom/**
  16. editor/**
  17. embedding/**
  18. extensions/**
  19. gfx/**
  20. gradle/**
  21. hal/**
  22. image/**
  23. intl/**
  24. ipc/**
  25. js/**
  26. layout/**
  27. media/**
  28. memory/**
  29. mfbt/**
  30. modules/**
  31. mozglue/**
  32. netwerk/**
  33. nsprpub/**
  34. other-licenses/**
  35. parser/**
  36. probes/**
  37. python/**
  38. rdf/**
  39. startupcache/**
  40. testing/**
  41. !tools/lint/eslint/eslint-plugin-mozilla/
  42. tools/lint/eslint/eslint-plugin-mozilla/node_modules/**
  43. tools/**
  44. uriloader/**
  45. view/**
  46. widget/**
  47. xpcom/**
  48. xpfe/**
  49. xulrunner/**
  50. # b2g exclusions (pref files).
  51. b2g/app/b2g.js
  52. b2g/graphene/graphene.js
  53. b2g/locales/en-US/b2g-l10n.js
  54. # browser/ exclusions
  55. browser/app/**
  56. browser/branding/**/basilisk-branding.js
  57. browser/base/content/browser-social.js
  58. browser/base/content/nsContextMenu.js
  59. browser/base/content/sanitizeDialog.js
  60. browser/base/content/test/general/file_csp_block_all_mixedcontent.html
  61. browser/base/content/test/urlbar/file_blank_but_not_blank.html
  62. browser/base/content/newtab/**
  63. browser/components/downloads/**
  64. browser/components/privatebrowsing/**
  65. browser/components/sessionstore/**
  66. browser/components/tabview/**
  67. # generated files in cld2
  68. browser/components/translation/cld2/cld-worker.js
  69. browser/extensions/pdfjs/**
  70. # generated or library files in pocket
  71. browser/extensions/pocket/content/panels/js/tmpl.js
  72. browser/extensions/pocket/content/panels/js/vendor/**
  73. browser/locales/**
  74. # devtools/ exclusions
  75. devtools/client/canvasdebugger/**
  76. devtools/client/commandline/**
  77. devtools/client/debugger/**
  78. devtools/client/framework/**
  79. !devtools/client/framework/selection.js
  80. !devtools/client/framework/toolbox.js
  81. devtools/client/jsonview/lib/**
  82. devtools/client/memory/**
  83. devtools/client/netmonitor/test/**
  84. devtools/client/netmonitor/har/test/**
  85. devtools/client/projecteditor/**
  86. devtools/client/promisedebugger/**
  87. devtools/client/responsivedesign/**
  88. devtools/client/scratchpad/**
  89. devtools/client/shadereditor/**
  90. devtools/client/shared/*.jsm
  91. devtools/client/shared/webgl-utils.js
  92. devtools/client/shared/widgets/*.jsm
  93. devtools/client/sourceeditor/test/*.js
  94. devtools/client/webaudioeditor/**
  95. devtools/client/webconsole/**
  96. !devtools/client/webconsole/panel.js
  97. !devtools/client/webconsole/jsterm.js
  98. !devtools/client/webconsole/console-commands.js
  99. devtools/client/webide/**
  100. !devtools/client/webide/components/webideCli.js
  101. devtools/server/*.js
  102. devtools/server/*.jsm
  103. !devtools/server/child.js
  104. !devtools/server/css-logic.js
  105. !devtools/server/main.js
  106. !devtools/server/websocket-server.js
  107. devtools/server/actors/**
  108. !devtools/server/actors/csscoverage.js
  109. !devtools/server/actors/inspector.js
  110. !devtools/server/actors/highlighters/css-grid.js
  111. !devtools/server/actors/highlighters/eye-dropper.js
  112. !devtools/server/actors/layout.js
  113. !devtools/server/actors/string.js
  114. !devtools/server/actors/styles.js
  115. !devtools/server/actors/webbrowser.js
  116. !devtools/server/actors/webextension.js
  117. devtools/server/performance/**
  118. devtools/server/tests/**
  119. devtools/shared/*.js
  120. !devtools/shared/async-storage.js
  121. !devtools/shared/async-utils.js
  122. !devtools/shared/defer.js
  123. !devtools/shared/event-emitter.js
  124. !devtools/shared/indentation.js
  125. !devtools/shared/loader-plugin-raw.jsm
  126. !devtools/shared/task.js
  127. devtools/shared/apps/**
  128. devtools/shared/client/**
  129. devtools/shared/discovery/**
  130. devtools/shared/gcli/**
  131. !devtools/shared/gcli/templater.js
  132. devtools/shared/heapsnapshot/**
  133. devtools/shared/layout/**
  134. devtools/shared/locales/**
  135. devtools/shared/performance/**
  136. !devtools/shared/platform/**
  137. devtools/shared/qrcode/**
  138. devtools/shared/security/**
  139. devtools/shared/shims/**
  140. devtools/shared/tests/**
  141. !devtools/shared/tests/unit/test_csslexer.js
  142. devtools/shared/touch/**
  143. devtools/shared/transport/**
  144. !devtools/shared/transport/transport.js
  145. !devtools/shared/transport/websocket-transport.js
  146. devtools/shared/webconsole/test/**
  147. devtools/shared/worker/**
  148. !devtools/shared/worker/worker.js
  149. # Ignore devtools pre-processed files
  150. devtools/client/framework/toolbox-process-window.js
  151. devtools/client/performance/system.js
  152. devtools/client/webide/webide-prefs.js
  153. devtools/client/preferences/**
  154. # Ignore devtools third-party libs
  155. devtools/shared/jsbeautify/*
  156. devtools/shared/acorn/*
  157. devtools/client/sourceeditor/tern/*
  158. devtools/shared/node-properties/*
  159. devtools/shared/pretty-fast/*
  160. devtools/shared/sourcemap/*
  161. devtools/shared/sprintfjs/*
  162. devtools/shared/qrcode/decoder/*
  163. devtools/shared/qrcode/encoder/*
  164. devtools/client/shared/demangle.js
  165. devtools/client/shared/vendor/*
  166. devtools/client/sourceeditor/codemirror/*.js
  167. devtools/client/sourceeditor/codemirror/**/*.js
  168. devtools/client/sourceeditor/test/codemirror/*
  169. devtools/client/inspector/markup/test/lib_*
  170. devtools/client/jsonview/lib/require.js
  171. devtools/server/actors/utils/automation-timeline.js
  172. # Ignore devtools files testing sourcemaps / code style
  173. devtools/client/debugger/test/mochitest/code_binary_search.js
  174. devtools/client/debugger/test/mochitest/code_math.min.js
  175. devtools/client/debugger/test/mochitest/code_math_bogus_map.js
  176. devtools/client/debugger/test/mochitest/code_ugly*
  177. devtools/client/debugger/test/mochitest/code_worker-source-map.js
  178. devtools/client/framework/test/code_ugly*
  179. devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
  180. devtools/server/tests/unit/setBreakpoint*
  181. # services/ exclusions
  182. # Uses `#filter substitution`
  183. services/sync/modules/constants.js
  184. # toolkit/ exclusions
  185. # Not part of the default build
  186. toolkit/components/help/**
  187. # Intentionally invalid JS
  188. toolkit/components/workerloader/tests/moduleF-syntax-error.js
  189. # Tests old non-star function generators
  190. toolkit/modules/tests/xpcshell/test_task.js
  191. # Not yet updated
  192. toolkit/components/osfile/**
  193. # External code:
  194. toolkit/components/microformats/test/**
  195. toolkit/components/reader/Readability.js
  196. toolkit/components/reader/JSDOMParser.js
  197. # Uses preprocessing
  198. toolkit/content/widgets/wizard.xml
  199. toolkit/components/jsdownloads/src/DownloadIntegration.jsm
  200. toolkit/components/url-classifier/**
  201. toolkit/components/urlformatter/nsURLFormatter.js
  202. toolkit/identity/FirefoxAccounts.jsm
  203. toolkit/modules/AppConstants.jsm
  204. toolkit/mozapps/downloads/nsHelperAppDlg.js
  205. toolkit/mozapps/extensions/internal/AddonConstants.jsm
  206. toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
  207. toolkit/webapps/**
  208. # Third party
  209. toolkit/modules/third_party/**
  210. #NSS
  211. security/nss/**