File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -425,6 +425,8 @@ const base = {
425425 '@stylistic/js/yield-star-spacing' : [ ERROR , 'both' ] ,
426426
427427 // import:
428+ // forbid any invalid exports, i.e. re-export of the same name
429+ 'import/export' : ERROR ,
428430 // ensure all imports appear before other statements
429431 'import/first' : ERROR ,
430432 // enforce a newline after import statements
@@ -449,6 +451,8 @@ const base = {
449451 'import/no-unresolved' : [ ERROR , { commonjs : true } ] ,
450452 // forbid useless path segments
451453 'import/no-useless-path-segments' : ERROR ,
454+ // forbid Webpack loader syntax in imports
455+ 'import/no-webpack-loader-syntax' : ERROR ,
452456
453457 // node:
454458 // enforce the style of file extensions in `import` declarations
You can’t perform that action at this time.
0 commit comments