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.

Improve option naming

See original GitHub issue

I don’t think we should use whitelist/blacklist type naming. They have negative connotations for some.

whitelist => allowList blacklist => denyList

This applies to:

  • blacklist option in no-keyword-prefix
  • whitelist option in prevent-abbreviations
  • extendDefaultWhitelist option in prevent-abbreviations

I’m not really interested in discussing the merits of this. It’s the right thing to do.

https://thenextweb.com/dd/2020/07/13/linux-kernel-will-no-longer-use-terms-blacklist-and-slave/

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:10
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
sindresorhuscommented, Dec 26, 2020

extendDefaultList extendDefaultAllowedList

Why *List? 😛

1reaction
sindresorhuscommented, Dec 21, 2020

Rename default branch to main?

GitHub promised they would come with a feature to automate this, so I’m waiting for that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Naming spreads | Advanced option strategies - Achievable
Let's go through each to better understand naming spreads. Based on the option premiums. The dominant option within a spread can also be...
Read more >
10 Options Strategies to Know - Investopedia
Options trading might sound complex, but there are a bunch of basic strategies that most investors can use to enhance returns, bet on...
Read more >
6 tips to improve naming and why it is so important | Martin Belev
We will explore 6 things that can help to improve our naming and why it is so important. ... Using a domain term...
Read more >
Common naming conventions for option type variables and ...
Closed 8 years ago. Improve this question. What are some popular ways to name option type variables and methods that return option types...
Read more >
Option naming convention - Wikipedia
In financial markets, an option naming convention is a method of identifying which of many possible options is being quoted or traded.
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