blob: 46bf0e8b86a6db3e002a0dc2fe3d284ec70f5df7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
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',
}
|