You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			32 lines
		
	
	
		
			564 B
		
	
	
	
		
			JavaScript
		
	
		
		
			
		
	
	
			32 lines
		
	
	
		
			564 B
		
	
	
	
		
			JavaScript
		
	
| 
								 
											7 years ago
										 
									 | 
							
								// For reference: https://github.com/airbnb/javascript
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = {
							 | 
						||
| 
								 | 
							
								  env: {
							 | 
						||
| 
								 | 
							
								    node: true,
							 | 
						||
| 
								 | 
							
								    mocha: true,
							 | 
						||
| 
								 | 
							
								    browser: true,
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  globals: {
							 | 
						||
| 
								 | 
							
								    check: true,
							 | 
						||
| 
								 | 
							
								    gen: true,
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  parserOptions: {
							 | 
						||
| 
								 | 
							
								    sourceType: 'module',
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  rules: {
							 | 
						||
| 
								 | 
							
								    // We still get the value of this rule, it just allows for dev deps
							 | 
						||
| 
								 | 
							
								    'import/no-extraneous-dependencies': [
							 | 
						||
| 
								 | 
							
								      'error',
							 | 
						||
| 
								 | 
							
								      {
							 | 
						||
| 
								 | 
							
								        devDependencies: true,
							 | 
						||
| 
								 | 
							
								      },
							 | 
						||
| 
								 | 
							
								    ],
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // We want to keep each test structured the same, even if its contents are tiny
							 | 
						||
| 
								 | 
							
								    'arrow-body-style': 'off',
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								};
							 |