Enforce React Rules of Hooks with eslint (#24911)
This commit is contained in:
		@@ -4,6 +4,7 @@ module.exports = {
 | 
			
		||||
  extends: [
 | 
			
		||||
    'eslint:recommended',
 | 
			
		||||
    'plugin:react/recommended',
 | 
			
		||||
    'plugin:react-hooks/recommended',
 | 
			
		||||
    'plugin:jsx-a11y/recommended',
 | 
			
		||||
    'plugin:import/recommended',
 | 
			
		||||
    'plugin:promise/recommended',
 | 
			
		||||
@@ -284,6 +285,7 @@ module.exports = {
 | 
			
		||||
        'eslint:recommended',
 | 
			
		||||
        'plugin:@typescript-eslint/recommended',
 | 
			
		||||
        'plugin:react/recommended',
 | 
			
		||||
        'plugin:react-hooks/recommended',
 | 
			
		||||
        'plugin:jsx-a11y/recommended',
 | 
			
		||||
        'plugin:import/recommended',
 | 
			
		||||
        'plugin:import/typescript',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user