forked from mirrors/gecko-dev
		
	Bug 1378788 - Clean up .eslintignore and clarify the directories that don't have js files. r=mossop
MozReview-Commit-ID: DxhMBv5xgh2 --HG-- extra : rebase_source : 323841b3091f873cdd050beaf62363c38a57b5c9
This commit is contained in:
		
							parent
							
								
									96981c5076
								
							
						
					
					
						commit
						50ff8fd9f1
					
				
					 1 changed files with 18 additions and 27 deletions
				
			
		|  | @ -8,10 +8,8 @@ obj*/** | ||||||
| # If you are enabling a directory, please add directory specific exclusions | # If you are enabling a directory, please add directory specific exclusions | ||||||
| # below. | # below. | ||||||
| addon-sdk/** | addon-sdk/** | ||||||
| build/** |  | ||||||
| chrome/** | chrome/** | ||||||
| config/** | config/** | ||||||
| db/** |  | ||||||
| docshell/** | docshell/** | ||||||
| editor/** | editor/** | ||||||
| embedding/** | embedding/** | ||||||
|  | @ -19,51 +17,49 @@ extensions/cookie/** | ||||||
| extensions/spellcheck/** | extensions/spellcheck/** | ||||||
| extensions/universalchardet/** | extensions/universalchardet/** | ||||||
| gfx/** | gfx/** | ||||||
| gradle/** |  | ||||||
| hal/** |  | ||||||
| image/** | image/** | ||||||
| intl/** | intl/** | ||||||
| ipc/** | ipc/** | ||||||
| layout/** | layout/** | ||||||
| media/** | media/** | ||||||
| memory/** | memory/** | ||||||
| mfbt/** |  | ||||||
| modules/** | modules/** | ||||||
| mozglue/** |  | ||||||
| netwerk/** | netwerk/** | ||||||
| nsprpub/** |  | ||||||
| other-licenses/** |  | ||||||
| parser/** | parser/** | ||||||
| probes/** |  | ||||||
| python/** | python/** | ||||||
| rdf/** | rdf/** | ||||||
| servo/** | servo/** | ||||||
| startupcache/** |  | ||||||
| tools/update-packaging/** | tools/update-packaging/** | ||||||
| uriloader/** | uriloader/** | ||||||
| view/** | view/** | ||||||
| widget/** | widget/** | ||||||
| xpcom/** | xpcom/** | ||||||
| xpfe/** |  | ||||||
| xulrunner/** |  | ||||||
| 
 | 
 | ||||||
| # b2g exclusions (pref files). | # We currently have no js files in these directories, so we ignore them by | ||||||
| b2g/app/b2g.js | # default to aid ESLint's performance. | ||||||
| b2g/graphene/graphene.js | build/** | ||||||
| b2g/locales/en-US/b2g-l10n.js | db/** | ||||||
|  | gradle/** | ||||||
|  | hal/** | ||||||
|  | mfbt/** | ||||||
|  | mozglue/** | ||||||
|  | nsprpub/** | ||||||
|  | other-licenses/** | ||||||
|  | probes/** | ||||||
|  | startupcache/** | ||||||
|  | xpfe/** | ||||||
| 
 | 
 | ||||||
| # browser/ exclusions | # browser/ exclusions | ||||||
| browser/app/** | browser/app/** | ||||||
| browser/branding/**/firefox-branding.js | browser/branding/**/firefox-branding.js | ||||||
| browser/base/content/test/general/file_csp_block_all_mixedcontent.html |  | ||||||
| # Gzipped test file. | # Gzipped test file. | ||||||
| browser/base/content/test/general/gZipOfflineChild.html | browser/base/content/test/general/gZipOfflineChild.html | ||||||
| browser/base/content/test/urlbar/file_blank_but_not_blank.html | browser/base/content/test/urlbar/file_blank_but_not_blank.html | ||||||
|  | # New tab is likely to be replaced soon. | ||||||
| browser/base/content/newtab/** | browser/base/content/newtab/** | ||||||
| # Test files that are really json not js, and don't need to be linted. | # 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_valid.js | ||||||
| browser/components/sessionstore/test/unit/data/sessionstore_invalid.js | browser/components/sessionstore/test/unit/data/sessionstore_invalid.js | ||||||
| browser/components/tabview/** |  | ||||||
| # generated & special files in cld2 | # generated & special files in cld2 | ||||||
| browser/components/translation/cld2/** | browser/components/translation/cld2/** | ||||||
| # Screenshots and Follow-on search are imported as a system add-on and have | # Screenshots and Follow-on search are imported as a system add-on and have | ||||||
|  | @ -75,10 +71,11 @@ browser/extensions/pdfjs/content/web** | ||||||
| # generated or library files in pocket | # generated or library files in pocket | ||||||
| browser/extensions/pocket/content/panels/js/tmpl.js | browser/extensions/pocket/content/panels/js/tmpl.js | ||||||
| browser/extensions/pocket/content/panels/js/vendor/** | browser/extensions/pocket/content/panels/js/vendor/** | ||||||
| browser/locales/** |  | ||||||
| # generated or library files in activity-stream | # generated or library files in activity-stream | ||||||
| browser/extensions/activity-stream/data/content/activity-stream.bundle.js | browser/extensions/activity-stream/data/content/activity-stream.bundle.js | ||||||
| browser/extensions/activity-stream/vendor/** | browser/extensions/activity-stream/vendor/** | ||||||
|  | # The only file in browser/locales/ is pre-processed. | ||||||
|  | browser/locales/** | ||||||
| # imported from chromium | # imported from chromium | ||||||
| browser/extensions/mortar/** | browser/extensions/mortar/** | ||||||
| 
 | 
 | ||||||
|  | @ -270,7 +267,6 @@ js/src/Y.js | ||||||
| mobile/android/tests/browser/chrome/tp5/** | mobile/android/tests/browser/chrome/tp5/** | ||||||
| 
 | 
 | ||||||
| # Uses `#filter substitution` | # Uses `#filter substitution` | ||||||
| mobile/android/b2gdroid/app/b2gdroid.js |  | ||||||
| mobile/android/app/mobile.js | mobile/android/app/mobile.js | ||||||
| mobile/android/chrome/content/healthreport-prefs.js | mobile/android/chrome/content/healthreport-prefs.js | ||||||
| 
 | 
 | ||||||
|  | @ -285,13 +281,10 @@ mobile/android/locales/ | ||||||
| mobile/android/chrome/content/browser.js | mobile/android/chrome/content/browser.js | ||||||
| mobile/android/components/Snippets.js | mobile/android/components/Snippets.js | ||||||
| 
 | 
 | ||||||
| # Bug 1178739: Ignore this file as a quick fix for "Illegal yield expression" |  | ||||||
| mobile/android/modules/HomeProvider.jsm |  | ||||||
| 
 |  | ||||||
| # security/ exclusions (pref files). | # security/ exclusions (pref files). | ||||||
| security/manager/ssl/security-prefs.js | security/manager/ssl/security-prefs.js | ||||||
| 
 | 
 | ||||||
| #NSS | # NSS / taskcluster only. | ||||||
| security/nss/** | security/nss/** | ||||||
| 
 | 
 | ||||||
| # services/ exclusions | # services/ exclusions | ||||||
|  | @ -344,6 +337,7 @@ toolkit/modules/tests/xpcshell/test_task.js | ||||||
| 
 | 
 | ||||||
| # Not yet updated | # Not yet updated | ||||||
| toolkit/components/osfile/** | toolkit/components/osfile/** | ||||||
|  | toolkit/components/url-classifier/** | ||||||
| 
 | 
 | ||||||
| # External code: | # External code: | ||||||
| toolkit/components/microformats/test/** | toolkit/components/microformats/test/** | ||||||
|  | @ -354,13 +348,10 @@ toolkit/components/reader/JSDOMParser.js | ||||||
| # Uses preprocessing | # Uses preprocessing | ||||||
| toolkit/content/widgets/wizard.xml | toolkit/content/widgets/wizard.xml | ||||||
| toolkit/components/jsdownloads/src/DownloadIntegration.jsm | toolkit/components/jsdownloads/src/DownloadIntegration.jsm | ||||||
| toolkit/components/url-classifier/** |  | ||||||
| toolkit/components/urlformatter/nsURLFormatter.js | toolkit/components/urlformatter/nsURLFormatter.js | ||||||
| toolkit/modules/AppConstants.jsm | toolkit/modules/AppConstants.jsm | ||||||
| toolkit/mozapps/downloads/nsHelperAppDlg.js | toolkit/mozapps/downloads/nsHelperAppDlg.js | ||||||
| toolkit/mozapps/extensions/internal/AddonConstants.jsm |  | ||||||
| toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js | toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js | ||||||
| toolkit/webapps/** |  | ||||||
| 
 | 
 | ||||||
| # Third party | # Third party | ||||||
| toolkit/modules/third_party/** | toolkit/modules/third_party/** | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Mark Banner
						Mark Banner