blob: 6bee56a0a0bd8def8c28eb5580a4ec791c5f6531 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
LINTER = {
'name': "RegexLinter",
'description': "Make sure the string 'foobar' never appears "
"in a js variable file because it is bad.",
'rule': 'no-foobar',
'include': [
'**/*.js',
'**/*.jsm',
],
'type': 'regex',
'payload': 'foobar',
}
|