Skip to content

Commit

Permalink
eslintrc: declutter via .npmignore
Browse files Browse the repository at this point in the history
Addresses review comment #1770 (comment)
  • Loading branch information
feuGeneA committed Sep 21, 2021
1 parent 1cc3ba3 commit b56a8a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ module.exports = {
files: ["scripts/**"],
rules: { "no-process-exit": "off" },
},
{
files: ["hardhat.config.ts", "scripts/**", "test/**"],
rules: {
"node/no-unpublished-import": "off",
"node/no-unpublished-require": "off",
},
},
],
rules: {
"node/no-unsupported-features/es-syntax": [
Expand Down
2 changes: 2 additions & 0 deletions packages/hardhat-core/sample-projects/advanced-ts/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
hardhat.config.ts
test
4 changes: 0 additions & 4 deletions packages/hardhat-core/sample-projects/advanced/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,5 @@ module.exports = {
files: ["scripts/**"],
rules: { "no-process-exit": "off" },
},
{
files: ["hardhat.config.js", "scripts/**", "test/**"],
rules: { "node/no-unpublished-require": "off" },
},
],
};
2 changes: 2 additions & 0 deletions packages/hardhat-core/sample-projects/advanced/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
hardhat.config.js
test

0 comments on commit b56a8a4

Please sign in to comment.