Skip to content

Commit

Permalink
chore: allow relative imports before absolute in import/first rule
Browse files Browse the repository at this point in the history
this change addresses use cases in mol-fe-sync-bundler where local styles need to be loaded before absolute imports.

BREAKING CHANGE: The 'absolute-first' condition from the import/first rule has been removed.

Issues: MOL-29362
  • Loading branch information
Txabox committed Apr 25, 2024
1 parent e0559e6 commit ede77bc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configurations/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,7 @@ module.exports = {
"json": "always"
}
],
"import/first": [
2,
"absolute-first"
],
"import/first": 2,
"import/max-dependencies": 0,
"import/named": 2,
"import/namespace": 2,
Expand Down

0 comments on commit ede77bc

Please sign in to comment.