Skip to content

Commit 6e00051

Browse files
committed
Remove remnants of allowlist
1 parent 4b51a9f commit 6e00051

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const whitelistedWords = require("./spellcheck.allowlist.js");
1+
const allowedWords = require("./spellcheck.allowlist.js");
22

33
module.exports = {
44
extends: [
@@ -56,7 +56,7 @@ module.exports = {
5656
"spellcheck/spell-checker": [
5757
2,
5858
{
59-
skipWords: whitelistedWords,
59+
skipWords: allowedWords,
6060
skipIfMatch: ["^http"]
6161
}
6262
]

.stylelintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ module.exports = {
1111
"color-no-hex": true,
1212
"color-no-invalid-hex": true,
1313
"color-named": "never",
14-
"function-whitelist": ["calc", "url", "format", "map-get", "local"] // no rgb colors
14+
"function-allowed-list": ["calc", "url", "format", "map-get", "local"] // no rgb colors
1515
}
1616
};

spellcheck.allowlist.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// words to whitelist in eslint
1+
// words to allow in eslint spellcheck
22
module.exports = [
33
"api",
44
"arg",
@@ -111,7 +111,6 @@ module.exports = [
111111
"utils",
112112
"validator",
113113
"webpack",
114-
"whitelist",
115114
"woff",
116115
"woff2",
117116
"www",

0 commit comments

Comments
 (0)