File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed 
packages/eslint-config-airbnb-base Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 5151    "babel-preset-airbnb" : " ^2.4.0" 
5252    "babel-tape-runner" : " ^2.0.1" 
5353    "editorconfig-tools" : " ^0.1.1" 
54-     "eslint" : " ^4.9.0 " 
54+     "eslint" : " ^4.12.1 " 
5555    "eslint-find-rules" : " ^3.1.1" 
5656    "eslint-plugin-import" : " ^2.8.0" 
5757    "in-publish" : " ^2.0.0" 
5858    "safe-publish-latest" : " ^1.1.1" 
5959    "tape" : " ^4.8.0" 
6060  },
6161  "peerDependencies" : {
62-     "eslint" : " ^4.9.0 " 
62+     "eslint" : " ^4.12.1 " 
6363    "eslint-plugin-import" : " ^2.8.0" 
6464  },
6565  "engines" : {
Original file line number Diff line number Diff line change @@ -64,7 +64,10 @@ module.exports = {
6464
6565    // disallow specific imports 
6666    // https://eslint.org/docs/rules/no-restricted-imports 
67-     'no-restricted-imports' : 'off' , 
67+     'no-restricted-imports' : [ 'off' ,  { 
68+       paths : [ ] , 
69+       patterns : [ ] 
70+     } ] , 
6871
6972    // disallow to use this/super before super() calling in constructors. 
7073    // https://eslint.org/docs/rules/no-this-before-super 
Original file line number Diff line number Diff line change @@ -97,6 +97,11 @@ module.exports = {
9797    // require identifiers to match the provided regular expression 
9898    'id-match' : 'off' , 
9999
100+     // Enforce the location of arrow function bodies with implicit returns 
101+     // https://eslint.org/docs/rules/implicit-arrow-linebreak 
102+     // TODO: enable, semver-major 
103+     'implicit-arrow-linebreak' : [ 'off' ,  'beside' ] , 
104+ 
100105    // this option sets a specific tab width for your code 
101106    // https://eslint.org/docs/rules/indent 
102107    indent : [ 'error' ,  2 ,  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments