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.

Update recommended rule set

See original GitHub issue

Primary objectives:

  • Remove “style” related rules from the recommended set
  • Add Octane related rules to recommended set
  • Update list of A11Y rules in recommended set

Rule Changes

Add

  • no-abstract-roles
  • no-action
  • no-curly-component-invocation
  • no-extra-mut-helper-argument
  • no-implicit-this
  • no-obsolete-elements
  • no-positive-tabindex
  • no-unnecessary-component-helper
  • require-iframe-title
  • require-valid-alt-text

Remove

  • block-indentation
  • img-alt-attributes
  • linebreak-style
  • no-unnecessary-concat
  • quotes
  • self-closing-void-elements

Change Default Config

  • link-rel-noopener -> strict config

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rwjbluecommented, Aug 1, 2019

My understanding is that the no-action-modifiers and no-element-event-actions rules are exact opposites of each other. So why are they both enabled?

Don’t use action in templates at all, use {{on}} 😸. Specifically, the next major (when these recommended sets can be updated) will be primarily targeted at octane users and in that world we expect folks to use {{on}} exclusively (over either form of action and over the Ember.Component event methods like click).

Are the style rules (block-indentation, linebreak-style, quotes) removed because prettier for handlebars will take the place of these?

Yes, this is precisely why they are removed. Just like with eslint’s recommendations, our “recommended” set should only be about “correctness” and not “stylistic opinion”.

I absolutely still expect folks to bring these rules themselves or use prettier to enforce the style.

img-alt-attributes is deprecated and replaced by require-valid-alt-text.

Confirm.

I assume no-unnecessary-concat is removed because of the discussion in #604.

Confirm.

I assume self-closing-void-elements is removed because of the discussion in #691.

Confirm.

0reactions
rwjbluecommented, Nov 4, 2019

Closed by #899

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managed Recommended Rules rule set for managed code
Learn about the Managed Recommended Rules rule set in Visual Studio. ... This rule set includes all the rules in the Managed Minimum...
Read more >
how to update ruleset - SAP Community
You can edit standard rule set accoring to your needs or create your own rule set. You might want read best practices before...
Read more >
Update ruleset record in Class rule. | Support Center
Hi All, I've created a Implementation class in FW rule set, need to update the ruleset of that class rule as implementation.
Read more >
Recommended Practices in Using current.update() in ...
In a "before" Business Rule, an update of the current record should not be necessary as the record will be saved upon completion...
Read more >
7.1. Rule Management with Suricata-Update
While it is possible to download and install rules manually, it is recommended to use a management tool for this. suricata-update is the...
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