feat: line specific rule toggling
See original GitHub issueLike other linters, ember-template-lint should allow users to enable and disable rules per line:
{{! template-lint-enable-line bare-strings }}
{{! template-lint-disable-line bare-strings }}
{{! template-lint-enable-next-line bare-strings }}
{{! template-lint-disable-next-line bare-strings }}
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (14 by maintainers)
Top Results From Across the Web
Feature Toggles (aka Feature Flags) - Martin Fowler
In this article on Feature Toggling we'll start off with a short story showing some typical scenarios where Feature Toggles are helpful. Then...
Read more >Turning off eslint rule for a specific line - Stack Overflow
To disable next line: // eslint-disable-next-line no-use-before-define var thing = new Thing();. Or use the single line syntax:
Read more >6.1. Rules Format — Suricata 6.0.0 documentation
This Suricata Rules document explains all about signatures; how to read, adjust and ... Rule options have a specific ordering and changing their...
Read more >Ultimate Guide to Line Movement in Sports Betting
Wondering why sports betting lines like point spreads and moneylines move leading up to the game? Read our easy guide for line movement...
Read more >Employee Reclassification: Changing FT or PT Status
Full-time (FT) or part-time (PT) employee reclassification is sometimes necessary for a valid business reason. Here's how employers should approach it.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is documented in this section of the README though maybe we need to make it even clearer. Would definitely like help.
An instruction will apply to all later siblings and their descendants:
An in-element instruction will apply to only that element:
An in-element instruction with the
-tree
suffix will apply to that element and all its descendants:@rafaelbnp Should be here => https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/configuration.md#per-template-file.