Skip to content

Commit

Permalink
feat: add natspec-smells
Browse files Browse the repository at this point in the history
  • Loading branch information
dristpunk committed Jan 18, 2024
1 parent ee25b3f commit 7bba7a0
Show file tree
Hide file tree
Showing 3 changed files with 457 additions and 10 deletions.
9 changes: 9 additions & 0 deletions natspec-smells.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* 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: 'solidity',
exclude: ['solidity/(test|scripts)/**/*.sol'],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@defi-wonderland/natspec-smells": "^1.0.2",
"ds-test": "github:dapphub/ds-test#e282159",
"forge-std": "github:foundry-rs/forge-std#v1.7.3",
"husky": ">=8",
Expand Down
Loading

0 comments on commit 7bba7a0

Please sign in to comment.