summaryrefslogtreecommitdiffstats
path: root/python/mozlint/test/linters/multiple.yml
blob: 5b880b3691b4f9f84fab69cd3cc3145150677db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
StringLinter:
    description: >-
        Make sure the string foobar never appears in browser js
        files because it is bad
    rule: no-foobar
    extensions: ['.js', 'jsm']
    type: string
    payload: foobar

---
RegexLinter:
    description: >-
        Make sure the string foobar never appears in browser js
        files because it is bad
    rule: no-foobar
    extensions: ['.js', 'jsm']
    type: regex
    payload: foobar