Debian Codegraph @

python/mozlint/test/linters/multiple.yml

raw
1 ---
2 StringLinter:
3 description: >-
4 Make sure the string foobar never appears in browser js
5 files because it is bad
6 rule: no-foobar
7 extensions: ['.js']
8 type: string
9 payload: foobar
10
11 ---
12 RegexLinter:
13 description: >-
14 Make sure the string foobar never appears in browser js
15 files because it is bad
16 rule: no-foobar
17 extensions: ['.js']
18 type: regex
19 payload: foobar