Skip to content

Commit

Permalink
enable package-json/no-empty-fields eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jan 27, 2025
1 parent c8e2c90 commit 4b7201b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/eslint/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -1928,6 +1928,8 @@ const json = {
};

const packageJSON = {
// reports on unnecessary empty arrays and objects
'package-json/no-empty-fields': ERROR,
// prevents adding unnecessary / redundant files
'package-json/no-redundant-files': ERROR,
// enforce that package dependencies are unique
Expand Down

0 comments on commit 4b7201b

Please sign in to comment.