forked from mirrors/gecko-dev
		
	 c62d0c64f8
			
		
	
	
		c62d0c64f8
		
	
	
	
	
		
			
			MozReview-Commit-ID: 2YHYOLTtqxu --HG-- extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			847 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			847 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| "use strict";
 | |
| 
 | |
| module.exports = {
 | |
|   // New rules and configurations should generally be added in
 | |
|   // tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js to
 | |
|   // allow external repositories that use the plugin to pick them up as well.
 | |
|   "extends": [
 | |
|     "plugin:mozilla/recommended"
 | |
|   ],
 | |
|   "plugins": [
 | |
|     "mozilla"
 | |
|   ],
 | |
|   // The html plugin is enabled via a command line option on eslint. To avoid
 | |
|   // bad interactions with the xml preprocessor in eslint-plugin-mozilla, we
 | |
|   // turn off processing of the html plugin for .xml files.
 | |
|   "settings": {
 | |
|     "html/xml-extensions": [ ".xhtml" ]
 | |
|   },
 | |
| 
 | |
|   "overrides": [{
 | |
|     // eslint-plugin-html handles eol-last slightly different - it applies to
 | |
|     // each set of script tags, so we turn it off here.
 | |
|     "files": "**/*.*html",
 | |
|     "rules": {
 | |
|       "eol-last": "off",
 | |
|     }
 | |
|   }]
 | |
| };
 |