summaryrefslogtreecommitdiffstats
path: root/python/mozlint/test/linters/regex.yml
blob: 2c9c8124280be4fa269f0ee828c3cd24d1515b75 (plain)
1
2
3
4
5
6
7
8
9
10
---
RegexLinter:
    description: >-
        Make sure the string foobar never appears in a js variable
        file because it is bad.
    rule: no-foobar
    include: ['.']
    extensions: ['js', '.jsm']
    type: regex
    payload: foobar