mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
eb84bf741c
This allows linters to define a 'setup' method which will automatically be called by |mach lint| before running the linter. Users can also explicitly run these methods (without doing any actual linting) by running |mach lint --setup|. MozReview-Commit-ID: 74aY1pfsaX1 --HG-- extra : rebase_source : e6a7d769ba14c996c7a77316928063fa46358c5a
11 lines
282 B
YAML
11 lines
282 B
YAML
---
|
|
eslint:
|
|
description: JavaScript linter
|
|
# ESLint infra handles its own path filtering, so just include cwd
|
|
include: ['.']
|
|
exclude: []
|
|
extensions: ['js', 'jsm', 'jsx', 'xml', 'html', 'xhtml']
|
|
type: external
|
|
payload: eslint:lint
|
|
setup: eslint:setup
|