question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable rules using "off" instead of "false"

See original GitHub issue

In order to make solhint more compatible with eslint, we should allow disabling rules using the value "off" instead of using false. We can make this change backward-compatible and, ideally, show a deprecated message for configurations that use false.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
fvictoriocommented, May 14, 2018

I meant we could have both options, so that it’s backwards compatible. I think a lot of users coming from eslint are used to using "off" instead of false (I myself tried to do it).

I agree that this is low priority, but it’s the kind of thing that someone looking to collaborate could use as a first issue.

1reaction
idrabeniacommented, May 14, 2018

Hi, It’s break backward compatibitilies.

I think it make sense to concentrate on business features instead of this small improvements

Read more comments on GitHub >

github_iconTop Results From Across the Web

Drools disable a rule at runtime - Stack Overflow
This is all working fine, what I'm looking for is a solution for disabling a rule at runtime. The only solution I have...
Read more >
Rules of Hooks - React
Only Call Hooks at the Top Level ... Don't call Hooks inside loops, conditions, or nested functions. Instead, always use Hooks at the...
Read more >
Best practices for configuring Windows Defender Firewall
Keep default settings; Understand rule precedence for inbound rules ... you can, instead of disabling individual rules, use the shields up ...
Read more >
How to Properly Turn Off the Windows Firewall in ... - Dell
To turn off the firewall using Windows PowerShell in Windows Server 2012 or above, including Windows Server Core: Open Windows PowerShell. Type.
Read more >
Customizing static analysis - Dart programming language
Disabling individual rules is similar to enabling them, but requires the use of a map rather than a list as the value for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found