summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/eslint.yml
blob: f7ab22e0e84da773af577e299ebb8b9ba9f6068d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
eslint:
    description: JavaScript linter
    # ESLint infra handles its own path filtering, so just include cwd
    include: ['.']
    exclude: []
    extensions: ['mjs', 'js', 'jsm', 'json', 'jsx', 'html', 'sjs', 'xhtml']
    support-files:
        - 'comm/**/.eslintrc.js'
        - 'comm/.eslintignore'
        - 'comm/.prettierignore'
        - 'tools/lint/eslint/**'
        # Files that can influence global variables
        - 'toolkit/modules/Services.jsm'
    type: external
    payload: commlint:eslint_wrapper
    wraps: eslint:lint
    setup: eslint:setup