-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Is it possible to pass in a custom error message? Maybe something like this:
{
files: ['foo/bar/*.ts'],
rules: {
'filename-rules/match': [
'error',
{
regex: /(.*?)\.(get\.ts|post\.ts)$/,
message: 'Files extensions must follow the convention of: {.get.ts, .post.ts}'
}
]
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels