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.

avoid-leaking-state-in-ember-objects: Easily add an ignored property?

See original GitHub issue

I’d like to add an additional ignored property to the avoid-leaking-state-in-ember-objects rule. It takes a list of ignored properties from the supplied options, but it’s all-or-nothing: there’s no easy way to add them. Can we modify this rule to merge in additional properties, or can we at least export the DEFAULT_IGNORED_PROPERTIES const from the module so I can append to it in .eslint.js?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
clcuevascommented, Mar 19, 2018

@travis-jm My bad. I was doing a bit of cleaning the other day and I must have deleted my branch that had this PR by mistake. I’ve since restored it and have re-opened the PR!

1reaction
mnoble01commented, Feb 28, 2018

The list is additive for avoid-leaking-state-in-components. Any reason this one shouldn’t be the same?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ignore properties in data model while keeping them in EF ...
The problem with this solution is that next time I run add-migration , it will create a migration that will remove the column...
Read more >
More explanation about [Ignore] attribute | Optimizely Developer
Well, that's easy to test. I'm adding two new properties to an existing pagetype. [Ignore] public virtual string TempProperty1 { get; set; }...
Read more >
How to ignore properties with System.Text.Json | Microsoft Learn
Ignore individual properties. To ignore individual properties, use the [JsonIgnore] attribute. The following example shows a type to serialize.
Read more >
Jackson Ignore Properties on Marshalling - Baeldung
This tutorial will show how to ignore certain fields when serializing an object to JSON using Jackson 2.x.
Read more >
Ignored Properties · Issue #290 · groue/GRDB.swift - GitHub
I want to have in my class some properties that I will use in my application and I don't want to add columns...
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