Files
UXP-Fixed/python/mozlint/test/linters/string.lint
2020-09-24 08:10:23 +00:00

15 lines
365 B
Plaintext

# -*- 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',
}