Skip to content

Commit

Permalink
Use warning instead, fix the condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Dec 5, 2024
1 parent 3e473c5 commit a118254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/volto/.eslintrc.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (process.env.VOLTOCONFIG) {
} else {
rules = {
'no-restricted-imports': [
'error',
'warn',
{
name: '@plone/volto/components',
message:
Expand All @@ -38,5 +38,5 @@ if (process.env.VOLTOCONFIG) {
}

module.exports = {
rules,
...(rules && { rules }),
};

0 comments on commit a118254

Please sign in to comment.