mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
There is only a single linter (test-disable.yml) that uses a glob in any include path, and that usage is easily replaced by using the 'extensions' key instead. Since globs in include directives aren't very useful, let's disallow them. This will allow us to simplify the 'filterpaths' logic quite substantially and make future refactorings in this area easier. Differential Revision: https://phabricator.services.mozilla.com/D6798
10 lines
222 B
YAML
10 lines
222 B
YAML
---
|
|
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
|