Skip to content

Commit

Permalink
chore: add natspec-smells and config
Browse files Browse the repository at this point in the history
  • Loading branch information
ilpepepig committed Aug 26, 2024
1 parent 5bae660 commit d1ff82a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions natspec-smells.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* List of supported options: https://github.com/defi-wonderland/natspec-smells?tab=readme-ov-file#options
*/

/** @type {import('@defi-wonderland/natspec-smells').Config} */
module.exports = {
include: 'contracts/(extensions|core|strategies)/**/*.sol',
exclude: 'contracts/strategies/_poc/**/*.sol',
enforceInheritdoc: false,
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"smock": "smock-foundry --contracts contracts/core"
},
"devDependencies": {
"@defi-wonderland/natspec-smells": "^1.1.5",
"@matterlabs/hardhat-zksync-deploy": "^1.2.1",
"@matterlabs/hardhat-zksync-solc": "^1.1.4",
"@matterlabs/hardhat-zksync-upgradable": "^1.3.1",
Expand Down

0 comments on commit d1ff82a

Please sign in to comment.