Skip to content

Commit 39a0bff

Browse files
committed
enable package-json/no-redundant-files eslint rule
1 parent ddc5753 commit 39a0bff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/eslint/eslint.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -1928,6 +1928,8 @@ const json = {
19281928
};
19291929

19301930
const packageJSON = {
1931+
// prevents adding unnecessary / redundant files
1932+
'package-json/no-redundant-files': ERROR,
19311933
// enforce that package dependencies are unique
19321934
'package-json/unique-dependencies': ERROR,
19331935
// checks existence of local dependencies in the package.json

0 commit comments

Comments
 (0)