We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97329b6 commit eadb44aCopy full SHA for eadb44a
lib/rules/filename-blacklist.js
@@ -65,12 +65,11 @@ module.exports = {
65
66
if (matchResult) {
67
const { path } = matchResult;
68
- let message =
69
- 'The filename "{{ path }}" matches the blacklisted "{{ blackListPattern }}" pattern. Use a pattern like "{{ useInsteadPattern }}" instead.';
70
71
context.report({
72
node,
73
- message,
+ message:
+ 'The filename "{{ path }}" matches the blacklisted "{{ blackListPattern }}" pattern. Use a pattern like "{{ useInsteadPattern }}" instead.',
74
data: {
75
path,
76
blackListPattern,
0 commit comments