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 7474 "eclint" : " ^2.8.1" ,
7575 "eslint" : " ^7.32.0 || ^8.2.0" ,
7676 "eslint-find-rules" : " ^4.1.0" ,
77- "eslint-plugin-import" : " ^2.26.0 " ,
77+ "eslint-plugin-import" : " ^2.27.5 " ,
7878 "in-publish" : " ^2.0.1" ,
7979 "safe-publish-latest" : " ^2.0.0" ,
8080 "tape" : " ^5.6.3"
8181 },
8282 "peerDependencies" : {
8383 "eslint" : " ^7.32.0 || ^8.2.0" ,
84- "eslint-plugin-import" : " ^2.26.0 "
84+ "eslint-plugin-import" : " ^2.27.5 "
8585 },
8686 "engines" : {
8787 "node" : " ^10.12.0 || >=12.0.0"
Original file line number Diff line number Diff line change @@ -269,5 +269,15 @@ module.exports = {
269269 // Use this rule to prevent importing packages through relative paths.
270270 // https://github.com/benmosher/eslint-plugin-import/blob/1012eb951767279ce3b540a4ec4f29236104bb5b/docs/rules/no-relative-packages.md
271271 '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' ,
272282 } ,
273283} ;
Original file line number Diff line number Diff line change 7676 "eclint" : " ^2.8.1" ,
7777 "eslint" : " ^7.32.0 || ^8.2.0" ,
7878 "eslint-find-rules" : " ^4.1.0" ,
79- "eslint-plugin-import" : " ^2.26.0 " ,
79+ "eslint-plugin-import" : " ^2.27.5 " ,
8080 "eslint-plugin-jsx-a11y" : " ^6.6.1" ,
8181 "eslint-plugin-react" : " ^7.31.8" ,
8282 "eslint-plugin-react-hooks" : " ^4.6.0" ,
8787 },
8888 "peerDependencies" : {
8989 "eslint" : " ^7.32.0 || ^8.2.0" ,
90- "eslint-plugin-import" : " ^2.26.0 " ,
90+ "eslint-plugin-import" : " ^2.27.5 " ,
9191 "eslint-plugin-jsx-a11y" : " ^6.6.1" ,
9292 "eslint-plugin-react" : " ^7.31.8" ,
9393 "eslint-plugin-react-hooks" : " ^4.6.0"
You can’t perform that action at this time.
0 commit comments