diff --git a/config/plugins.js b/config/plugins.js index 0893cbf9..d9c37325 100644 --- a/config/plugins.js +++ b/config/plugins.js @@ -42,6 +42,20 @@ module.exports = { checkShorthandImports: false, extendDefaultReplacements: false, replacements: { + // https://thenextweb.com/dd/2020/07/13/linux-kernel-will-no-longer-use-terms-blacklist-and-slave/ + whitelist: { + allowList: true + }, + blacklist: { + denyList: true + }, + master: { + main: true + }, + slave: { + secondary: true + }, + // Not part of `eslint-plugin-unicorn` application: { app: true diff --git a/test/lint-files.js b/test/lint-files.js index 04fb87d2..3459c2b0 100644 --- a/test/lint-files.js +++ b/test/lint-files.js @@ -9,7 +9,7 @@ const hasRule = (results, filePath, ruleId) => { return result ? result.messages.some(x => x.ruleId === ruleId) : false; }; -test('only accepts whitelisted extensions', async t => { +test('only accepts allowed extensions', async t => { // Markdown files will always produce linter errors and will not be going away const mdGlob = path.join(__dirname, '..', '*.md');