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.

Have !rules (and other alternatives of rules) return the specific rule if a number is provided

See original GitHub issue

!rules 3 returns a shortwritten version of the rule.
For even more flavor let it handle “slicing” of rules like 3,5,7 to print the rule titles of rule 3, 5 and 7, or a syntax like 3-6 to get rule 3 to and including 6

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
lemonsauruscommented, Jan 16, 2019

those both seem fine. it’s when you start putting square brackets around it that I start killing people left and right in response.

0reactions
Refisiocommented, Jan 16, 2019

Hi, I’ve already added support for non-indexed slicing. !rules 2-6 Or !rules 2:6 These should both work when I am finished.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rule 8. General Rules of Pleading - Law.Cornell.Edu
If a party makes alternative statements, the pleading is sufficient if any one of them is sufficient. (3) Inconsistent Claims or Defenses. A...
Read more >
A Guide to the Rulemaking Process - Federal Register
Does the regulatory process continue after rules are published? What are interpretive rules and policy statements? When do the courts get involved in...
Read more >
Restrict data input by using validation rules - Microsoft Support
A control can have a different validation rule from the table field to which the control is bound. This is useful if you...
Read more >
Instructions for the Requester of Form W-9 (10/2018) - IRS
Individual Taxpayer Identification Number (ITIN) ... Form W-9 (or an acceptable substitute) is used by persons required to file information ...
Read more >
Working with Rules - ESLint - Pluggable JavaScript Linter
In a custom rule or plugin, you can omit docs or include any properties that you need in it. fixable (string) is either...
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