mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-10-30 15:37:31 +03:00 
			
		
		
		
	* chore(deps): update dependency eslint-plugin-react-hooks to v7 * Update * Update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
		
			
				
	
	
		
			42 lines
		
	
	
		
			987 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			987 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { defineConfig } from 'eslint/config';
 | |
| import eslint from '@eslint/js';
 | |
| import react from 'eslint-plugin-react';
 | |
| import reactHooks from 'eslint-plugin-react-hooks';
 | |
| import jest from 'eslint-plugin-jest';
 | |
| import eslintConfigPrettier from 'eslint-config-prettier';
 | |
| 
 | |
| export default defineConfig([
 | |
|   {
 | |
|     files: ['test/**/*.js', 'test/**/*.jsx'],
 | |
|     ...eslint.configs.recommended,
 | |
|   },
 | |
|   {
 | |
|     files: ['test/**/*.js', 'test/**/*.jsx'],
 | |
|     ...react.configs.flat.recommended,
 | |
|   },
 | |
|   {
 | |
|     files: ['test/**/*.js', 'test/**/*.jsx'],
 | |
|     settings: {
 | |
|       react: {
 | |
|         version: 'detect',
 | |
|       },
 | |
|     },
 | |
|   },
 | |
|   {
 | |
|     files: ['test/**/*.js', 'test/**/*.jsx'],
 | |
|     ...reactHooks.configs.flat.recommended,
 | |
|   },
 | |
|   {
 | |
|     files: ['test/**/*.js', 'test/**/*.jsx'],
 | |
|     ...jest.configs['flat/recommended'],
 | |
|   },
 | |
|   {
 | |
|     files: ['test/**/*.js', 'test/**/*.jsx'],
 | |
|     ...jest.configs['jest/style'],
 | |
|   },
 | |
|   {
 | |
|     files: ['test/**/*.js', 'test/**/*.jsx'],
 | |
|     ...eslintConfigPrettier,
 | |
|   },
 | |
| ]);
 |