From 39114a9ff89d01120b3d843132bda20bffc768d2 Mon Sep 17 00:00:00 2001 From: Austrian <114922365+0xAustrian@users.noreply.github.com> Date: Thu, 4 Apr 2024 13:18:53 -0300 Subject: [PATCH] feat: add max line length solhint rule (#64) --- .solhint.json | 3 ++- .solhint.tests.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.solhint.json b/.solhint.json index cc5eb1f6..94f58b24 100644 --- a/.solhint.json +++ b/.solhint.json @@ -12,6 +12,7 @@ "ordering": "warn", "immutable-name-snakecase": "warn", "avoid-low-level-calls": "off", - "no-console": "off" + "no-console": "off", + "max-line-length": ["warn", 120] } } diff --git a/.solhint.tests.json b/.solhint.tests.json index 028b56d1..e208b5f4 100644 --- a/.solhint.tests.json +++ b/.solhint.tests.json @@ -19,6 +19,7 @@ "ordering": "warn", "immutable-name-snakecase": "warn", "avoid-low-level-calls": "off", - "one-contract-per-file": "off" + "one-contract-per-file": "off", + "max-line-length": ["warn", 120] } }