From aa9323488251e0e4ca9b69c17a73e0d83b81f361 Mon Sep 17 00:00:00 2001 From: moebius <0xmoebius@protonmail.com> Date: Fri, 19 Jul 2024 12:01:25 +0200 Subject: [PATCH] chore: bump natspec smells version and update config file --- natspec-smells.config.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/natspec-smells.config.js b/natspec-smells.config.js index 458623a3..d75ae615 100644 --- a/natspec-smells.config.js +++ b/natspec-smells.config.js @@ -4,5 +4,6 @@ /** @type {import('@defi-wonderland/natspec-smells').Config} */ module.exports = { - include: 'src' + include: 'src/**/*.sol', + exclude: '(test|scripts)/**/*.sol', }; diff --git a/package.json b/package.json index 0ae14e9c..587f4d05 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "devDependencies": { "@commitlint/cli": "19.3.0", "@commitlint/config-conventional": "19.2.2", - "@defi-wonderland/natspec-smells": "1.1.1", + "@defi-wonderland/natspec-smells": "1.1.3", "forge-std": "github:foundry-rs/forge-std#1.8.2", "halmos-cheatcodes": "github:a16z/halmos-cheatcodes#c0d8655", "husky": ">=8",