File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
eslint-config-airbnb-base Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 74
74
"eclint" : " ^2.8.1" ,
75
75
"eslint" : " ^7.32.0 || ^8.2.0" ,
76
76
"eslint-find-rules" : " ^4.1.0" ,
77
- "eslint-plugin-import" : " ^2.26.0 " ,
77
+ "eslint-plugin-import" : " ^2.27.5 " ,
78
78
"in-publish" : " ^2.0.1" ,
79
79
"safe-publish-latest" : " ^2.0.0" ,
80
80
"tape" : " ^5.6.3"
81
81
},
82
82
"peerDependencies" : {
83
83
"eslint" : " ^7.32.0 || ^8.2.0" ,
84
- "eslint-plugin-import" : " ^2.26.0 "
84
+ "eslint-plugin-import" : " ^2.27.5 "
85
85
},
86
86
"engines" : {
87
87
"node" : " ^10.12.0 || >=12.0.0"
Original file line number Diff line number Diff line change @@ -269,5 +269,15 @@ module.exports = {
269
269
// Use this rule to prevent importing packages through relative paths.
270
270
// https://github.com/benmosher/eslint-plugin-import/blob/1012eb951767279ce3b540a4ec4f29236104bb5b/docs/rules/no-relative-packages.md
271
271
'import/no-relative-packages' : 'error' ,
272
+
273
+ // enforce a consistent style for type specifiers (inline or top-level)
274
+ // https://github.com/import-js/eslint-plugin-import/blob/d5fc8b670dc8e6903dbb7b0894452f60c03089f5/docs/rules/consistent-type-specifier-style.md
275
+ // TODO, semver-major: enable (just in case)
276
+ 'import/consistent-type-specifier-style' : [ 'off' , 'prefer-inline' ] ,
277
+
278
+ // Reports the use of empty named import blocks.
279
+ // https://github.com/import-js/eslint-plugin-import/blob/d5fc8b670dc8e6903dbb7b0894452f60c03089f5/docs/rules/no-empty-named-blocks.md
280
+ // TODO, semver-minor: enable
281
+ 'import/no-empty-named-blocks' : 'off' ,
272
282
} ,
273
283
} ;
Original file line number Diff line number Diff line change 76
76
"eclint" : " ^2.8.1" ,
77
77
"eslint" : " ^7.32.0 || ^8.2.0" ,
78
78
"eslint-find-rules" : " ^4.1.0" ,
79
- "eslint-plugin-import" : " ^2.26.0 " ,
79
+ "eslint-plugin-import" : " ^2.27.5 " ,
80
80
"eslint-plugin-jsx-a11y" : " ^6.6.1" ,
81
81
"eslint-plugin-react" : " ^7.31.8" ,
82
82
"eslint-plugin-react-hooks" : " ^4.6.0" ,
87
87
},
88
88
"peerDependencies" : {
89
89
"eslint" : " ^7.32.0 || ^8.2.0" ,
90
- "eslint-plugin-import" : " ^2.26.0 " ,
90
+ "eslint-plugin-import" : " ^2.27.5 " ,
91
91
"eslint-plugin-jsx-a11y" : " ^6.6.1" ,
92
92
"eslint-plugin-react" : " ^7.31.8" ,
93
93
"eslint-plugin-react-hooks" : " ^4.6.0"
You can’t perform that action at this time.
0 commit comments