Skip to content

Instantly share code, notes, and snippets.

@rex
Created June 30, 2015 23:44
Show Gist options
  • Save rex/42df36697c0b5e42b22d to your computer and use it in GitHub Desktop.
Save rex/42df36697c0b5e42b22d to your computer and use it in GitHub Desktop.
TodoReview
{
"TODO": "TODO[\\s]*?:[\\s]*(?P<todo>.*)$",
"NOTE": "NOTE[\\s]*?:[\\s]*(?P<note>.*)$",
"FIXME": "FIX ?ME[\\s]*?:[\\s]*(?P<fixme>.*)$",
"CHANGED": "CHANGED[\\s]*?:[\\s]*(?P<changed>.*)$",
"CONSOLE": "console\\.(log|warn|error|notice)\\((?P<console>.*)\\);?$"
}
{
"patterns": {
"TODO": "TODO[\\s]*?:[\\s]*(?P<todo>.*)$",
"NOTE": "NOTE[\\s]*?:[\\s]*(?P<note>.*)$",
"FIXME": "FIX ?ME[\\s]*?:[\\s]*(?P<fixme>.*)$",
"CHANGED": "CHANGED[\\s]*?:[\\s]*(?P<changed>.*)$",
"CONSOLE": "console\\.(log|warn|error|notice)\\((?P<console>.*)\\);?$"
},
"patterns_weight": {
"TODO": 5,
"CONSOLE": 4
},
"exclude_folders": [
"*.git*",
"*node_modules*",
"apidoc",
"devdoc",
"*assets/lib*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment