mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-11-04 00:03:15 -05:00 
			
		
		
		
	Migrate ESLint rules config to ESLint 2.0.0
Refs http://eslint.org/docs/user-guide/migrating-to-2.0.0
This commit is contained in:
		
							parent
							
								
									f7677d6be5
								
							
						
					
					
						commit
						0efec1a3db
					
				@ -55,7 +55,6 @@
 | 
			
		||||
        "no-case-declarations": 2,
 | 
			
		||||
        "no-div-regex": 2,
 | 
			
		||||
        "no-else-return": 2,
 | 
			
		||||
        "no-empty-label": 2,
 | 
			
		||||
        "no-eq-null": 2,
 | 
			
		||||
        "no-eval": 2,
 | 
			
		||||
        "no-extend-native": 2,
 | 
			
		||||
@ -125,6 +124,7 @@
 | 
			
		||||
        "func-style": 0,
 | 
			
		||||
        "indent": [2, 2, {"SwitchCase": 1}],
 | 
			
		||||
        "key-spacing": 0,
 | 
			
		||||
        "keyword-spacing": 2,
 | 
			
		||||
        "linebreak-style": 2,
 | 
			
		||||
        "lines-around-comment": 0,
 | 
			
		||||
        "new-cap": 0,
 | 
			
		||||
@ -153,13 +153,11 @@
 | 
			
		||||
        "semi": [2, "never"],
 | 
			
		||||
        "semi-spacing": 2,
 | 
			
		||||
        "sort-vars": 2,
 | 
			
		||||
        "space-after-keywords": 2,
 | 
			
		||||
        "space-before-blocks": 2,
 | 
			
		||||
        "space-before-function-paren": 0,
 | 
			
		||||
        "spaced-comment": 2,
 | 
			
		||||
        "space-infix-ops": 2,
 | 
			
		||||
        "space-in-parens": 2,
 | 
			
		||||
        "space-return-throw-case": 2,
 | 
			
		||||
        "space-unary-ops": 2,
 | 
			
		||||
 | 
			
		||||
        // es6
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user