This repository was archived by the owner on May 12, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 4 files changed +208
-124
lines changed Expand file tree Collapse file tree 4 files changed +208
-124
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ npm install eslint-config-airbnb-typescript \
1414            eslint-plugin-jsx-a11y@^6.3.1 \
1515            eslint-plugin-react@^7.20.3 \
1616            eslint-plugin-react-hooks@^4.0.8 \
17-             @typescript-eslint/eslint-plugin@^4.0.1  \
17+             @typescript-eslint/eslint-plugin@^4.2.0  \
1818            --save-dev
1919``` 
2020
@@ -42,7 +42,7 @@ Install dependencies. ESLint plugins [must also be installed](https://github.com
4242``` bash 
4343npm install eslint-config-airbnb-typescript \
4444            eslint-plugin-import@^2.22.0 \
45-             @typescript-eslint/eslint-plugin@^4.0.1  \
45+             @typescript-eslint/eslint-plugin@^4.2.0  \
4646            --save-dev
4747``` 
4848
Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ module.exports = {
5050        format : [ 'PascalCase' ] , 
5151      } , 
5252    ] , 
53+ 
54+     // Replace Airbnb 'comma-dangle' rule with '@typescript-eslint' version 
55+     // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-dangle.md 
56+     'comma-dangle' : 'off' , 
57+     '@typescript-eslint/comma-dangle' : baseStyleRules [ 'comma-dangle' ] , 
58+ 
5359    // Replace Airbnb 'comma-spacing' rule with '@typescript-eslint' version 
5460    // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-spacing.md 
5561    'comma-spacing' : 'off' , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments