File tree Expand file tree Collapse file tree 5 files changed +16
-6
lines changed 
eslint-config-airbnb-base Expand file tree Collapse file tree 5 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -3451,7 +3451,7 @@ Other Style Guides
34513451    this .firstName  =  ' Panda' 
34523452
34533453    //  good, in environments where WeakMaps are available
3454-     //  see https://compat-table.github.io/compat-table/es6/ -> Built-ins ->  WeakMap
3454+     //  see https://compat-table.github.io/compat-table/es6/#test- WeakMap
34553455    const  firstNames  =  new  WeakMap ();
34563456    firstNames .set (this , ' Panda' 
34573457    ` ` ` 
Original file line number Diff line number Diff line change 7777    "eslint-plugin-import" : " ^2.29.1" 
7878    "in-publish" : " ^2.0.1" 
7979    "safe-publish-latest" : " ^2.0.0" 
80-     "tape" : " ^5.7.4 " 
80+     "tape" : " ^5.7.5 " 
8181  },
8282  "peerDependencies" : {
8383    "eslint" : " ^7.32.0 || ^8.2.0" 
Original file line number Diff line number Diff line change 7777    "eslint-find-rules" : " ^4.1.0" 
7878    "eslint-plugin-import" : " ^2.29.1" 
7979    "eslint-plugin-jsx-a11y" : " ^6.8.0" 
80-     "eslint-plugin-react" : " ^7.33.2 " 
80+     "eslint-plugin-react" : " ^7.34.1 " 
8181    "eslint-plugin-react-hooks" : " ^4.6.0" 
8282    "in-publish" : " ^2.0.1" 
8383    "react" : " >= 0.13.0" 
8484    "safe-publish-latest" : " ^2.0.0" 
85-     "tape" : " ^5.7.4 " 
85+     "tape" : " ^5.7.5 " 
8686  },
8787  "peerDependencies" : {
8888    "eslint" : " ^7.32.0 || ^8.2.0" 
8989    "eslint-plugin-import" : " ^2.29.1" 
9090    "eslint-plugin-jsx-a11y" : " ^6.8.0" 
91-     "eslint-plugin-react" : " ^7.33.2 " 
91+     "eslint-plugin-react" : " ^7.34.1 " 
9292    "eslint-plugin-react-hooks" : " ^4.6.0" 
9393  },
9494  "engines" : {
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ module.exports = {
192192    'jsx-a11y/no-noninteractive-tabindex' : [ 'error' ,  { 
193193      tags : [ ] , 
194194      roles : [ 'tabpanel' ] , 
195+       allowExpressionValues : true , 
195196    } ] , 
196197
197198    // require onBlur instead of onChange 
@@ -200,7 +201,9 @@ module.exports = {
200201
201202    // ensure HTML elements do not specify redundant ARIA roles 
202203    // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md 
203-     'jsx-a11y/no-redundant-roles' : 'error' , 
204+     'jsx-a11y/no-redundant-roles' : [ 'error' ,  { 
205+       nav : [ 'navigation' ] , 
206+     } ] , 
204207
205208    // Enforce that DOM elements without semantic behavior not have interaction handlers 
206209    // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md 
Original file line number Diff line number Diff line change @@ -46,6 +46,13 @@ module.exports = {
4646      ] , 
4747    } ] , 
4848
49+     // This rule enforces onChange or readonly attribute for checked property of input elements. 
50+     // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/checked-requires-onchange-or-readonly.md 
51+     'react/checked-requires-onchange-or-readonly' : [ 'off' ,  { 
52+       ignoreMissingProperties : false , 
53+       ignoreExclusiveCheckedAttribute : false 
54+     } ] , 
55+ 
4956    // Prevent missing displayName in a React component definition 
5057    // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/display-name.md 
5158    'react/display-name' : [ 'off' ,  {  ignoreTranspilerName : false  } ] , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments