Check declaration names for wording issues
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
ID: typescript-inclusive/declarations
Language: TypeScript
Severity: Notice
Category: Code Style
Description
Ensure that some words are not used in the codebase and suggest a replacement when appropriate.
Examples of replacement suggestions:
blacklist
with denylist
whitelist
with allowlist
master
with primary
slave
with secondary
Non-Compliant Code Examples
function foo_blacklist() {}
a(function *blackList() {});
function *whItEList() {}
function blacklist_names() {}
function whiteList() {}
class WhiteList {}
const slave = 0;
let master = "";
var slave = b;
Compliant Code Examples
function foo_denyList() {}
a(function *allowedList() {});
class primary {}
const secondary = 0;
Seamless integrations. Try Datadog Code Analysis