It would be nice to have a "grep linter" which one would specify a list of keywords and their severity. For example:
```lang=py
def foo():
# FIXME(someone): uncomment this before landing.
#failing_function()
def bar():
# REVIEWER: Please advise.
#call_backend_1()
call_backend_2()
def fib(x):
# TODO(someonelese): this is to slow. Consider alternative design.
if x <= 0:
return 0
if x == 1:
return 1
return fib(x-1) + fib(x-2)
```
Configuration example:
```lang=js
{
"linters": {
"grep": {
"type": "grep",
"severity": {
"FIXME": "error",
"REVIEWER": "error",
"TODO": "warning"
}
}
}
}
```
Supporting regex would be a plus.