From 38207ff8e0689a2c0c48c6702bea7efafb8dc58c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8r=E2=88=82=C2=A1?= Date: Wed, 8 Nov 2023 13:08:10 +0100 Subject: [PATCH] Formatting warnings --- packages/contracts/.solhint.json | 2 +- packages/contracts/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/contracts/.solhint.json b/packages/contracts/.solhint.json index 2a02af4..901bcf1 100644 --- a/packages/contracts/.solhint.json +++ b/packages/contracts/.solhint.json @@ -5,7 +5,7 @@ "code-complexity": ["error", 8], "compiler-version": ["error", ">=0.8.4"], "func-visibility": ["error", {"ignoreConstructors": true}], - "max-line-length": ["error", 120], + "max-line-length": ["warn", 120], "named-parameters-mapping": "warn", "no-console": "off", "not-rely-on-time": "off", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 66790e6..6443d3a 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -65,7 +65,7 @@ "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain", "deploy": "hardhat deploy", "lint": "yarn lint:sol && yarn lint:ts", - "lint:sol": "solhint --max-warnings 0 \"src/**/*.sol\"", + "lint:sol": "solhint \"src/**/*.sol\"", "lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .", "postinstall": "DOTENV_CONFIG_PATH=../../.env.example yarn typechain", "test": "hardhat test",