File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
eslint-config-airbnb-base Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 5353 "editorconfig-tools" : " ^0.1.1" ,
5454 "eslint" : " ^4.9.0" ,
5555 "eslint-find-rules" : " ^3.1.1" ,
56- "eslint-plugin-import" : " ^2.7 .0" ,
56+ "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" : {
6262 "eslint" : " ^4.9.0" ,
63- "eslint-plugin-import" : " ^2.7 .0"
63+ "eslint-plugin-import" : " ^2.8 .0"
6464 },
6565 "engines" : {
6666 "node" : " >= 4"
Original file line number Diff line number Diff line change @@ -204,5 +204,10 @@ module.exports = {
204204 allowLiteral : false ,
205205 allowObject : false ,
206206 } ] ,
207+
208+ // This rule enforces that all exports are declared at the bottom of the file.
209+ // https://github.com/benmosher/eslint-plugin-import/blob/98acd6afd04dcb6920b81330114e146dc8532ea4/docs/rules/exports-last.md
210+ // TODO: enable?
211+ 'import/exports-last' : 'off' ,
207212 } ,
208213} ;
Original file line number Diff line number Diff line change 5656 "editorconfig-tools" : " ^0.1.1" ,
5757 "eslint" : " ^4.9.0" ,
5858 "eslint-find-rules" : " ^3.1.1" ,
59- "eslint-plugin-import" : " ^2.7 .0" ,
59+ "eslint-plugin-import" : " ^2.8 .0" ,
6060 "eslint-plugin-jsx-a11y" : " ^6.0.2" ,
6161 "eslint-plugin-react" : " ^7.4.0" ,
6262 "in-publish" : " ^2.0.0" ,
6666 },
6767 "peerDependencies" : {
6868 "eslint" : " ^4.9.0" ,
69- "eslint-plugin-import" : " ^2.7 .0" ,
69+ "eslint-plugin-import" : " ^2.8 .0" ,
7070 "eslint-plugin-jsx-a11y" : " ^6.0.2" ,
7171 "eslint-plugin-react" : " ^7.4.0"
7272 },
You can’t perform that action at this time.
0 commit comments