@@ -29,6 +29,7 @@ module.exports = {
2929 // enforce the spacing around the * in generator functions
3030 'generator-star-spacing' : 0 ,
3131 // disallow modifying variables of class declarations
32+ // TODO: enable
3233 'no-class-assign' : 0 ,
3334 // disallow arrow functions where they could be confused with comparisons
3435 // http://eslint.org/docs/rules/no-confusing-arrow
@@ -110,7 +111,10 @@ module.exports = {
110111 // Forbid the use of extraneous packages
111112 // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md
112113 // TODO: enable
113- 'import/no-extraneous-dependencies' : [ 0 , { 'devDependencies' : false } ] ,
114+ 'import/no-extraneous-dependencies' : [ 0 , {
115+ 'devDependencies' : false ,
116+ 'optionalDependencies' : false ,
117+ } ] ,
114118 // ensure imports point to files/modules that can be resolved
115119 // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md
116120 'import/no-unresolved' : [ 2 , { 'commonjs' : true } ] ,
@@ -152,7 +156,16 @@ module.exports = {
152156 // TODO: enable?
153157 'import/order' : [ 0 , {
154158 'groups' : [ 'builtin' , 'external' , 'internal' , 'parent' , 'sibling' , 'index' ] ,
159+ 'newlines-between' : 'never' ,
155160 } ] ,
161+ // Require a newline after the last import/require in a group
162+ // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md
163+ // TODO: enable
164+ 'import/newline-after-import' : 0 ,
165+ // Forbid mutable exports
166+ // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-mutable-exports.md
167+ // TODO: enable
168+ 'import/no-mutable-exports' : 0 ,
156169 } ,
157170 'settings' : {
158171 'import/resolver' : {
0 commit comments