mirror of
				https://github.com/spring-projects/spring-security.git
				synced 2025-11-04 08:39:05 +00:00 
			
		
		
		
	
		
			
	
	
		
			31 lines
		
	
	
		
			570 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			31 lines
		
	
	
		
			570 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								import globals from "globals";
							 | 
						||
| 
								 | 
							
								import eslintConfigPrettier from "eslint-plugin-prettier/recommended";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export default [
							 | 
						||
| 
								 | 
							
								  {
							 | 
						||
| 
								 | 
							
								    ignores: ["build/**/*"],
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  {
							 | 
						||
| 
								 | 
							
								    files: ["lib/**/*.js"],
							 | 
						||
| 
								 | 
							
								    languageOptions: {
							 | 
						||
| 
								 | 
							
								      sourceType: "module",
							 | 
						||
| 
								 | 
							
								      globals: {
							 | 
						||
| 
								 | 
							
								        ...globals.browser,
							 | 
						||
| 
								 | 
							
								        gobalThis: "readonly",
							 | 
						||
| 
								 | 
							
								      },
							 | 
						||
| 
								 | 
							
								    },
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  {
							 | 
						||
| 
								 | 
							
								    files: ["test/**/*.js"],
							 | 
						||
| 
								 | 
							
								    languageOptions: {
							 | 
						||
| 
								 | 
							
								      globals: {
							 | 
						||
| 
								 | 
							
								        ...globals.browser,
							 | 
						||
| 
								 | 
							
								        ...globals.mocha,
							 | 
						||
| 
								 | 
							
								        ...globals.chai,
							 | 
						||
| 
								 | 
							
								        ...globals.nodeBuiltin,
							 | 
						||
| 
								 | 
							
								      },
							 | 
						||
| 
								 | 
							
								    },
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  eslintConfigPrettier,
							 | 
						||
| 
								 | 
							
								];
							 |