summaryrefslogtreecommitdiffstats
path: root/python/mozlint/test/linters/string.lint
blob: 727507b0fd79e57b64f672aec65977c831dd2083 (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': "StringLinter",
    'description': "Make sure the string 'foobar' never appears "
                   "in browser js files because it is bad.",
    'rule': 'no-foobar',
    'include': [
        '**/*.js',
        '**/*.jsm',
    ],
    'type': 'string',
    'payload': 'foobar',
}