Differential Revision: https://phabricator.services.mozilla.com/D308693
28 lines
1.0 KiB
YAML
28 lines
1.0 KiB
YAML
---
|
|
typescript:
|
|
description: TypeScript type checker for JavaScript
|
|
include:
|
|
# Currently, directories listed here should contain a `tsconfig.json`
|
|
# project file. Only directories which pass typescript should be added
|
|
# to this list.
|
|
# These should be kept in sync with the list in
|
|
# taskcluster/kinds/source-test/mozlint.yml
|
|
- browser/components/places/
|
|
- browser/components/search/
|
|
- browser/components/urlbar/
|
|
- toolkit/components/extensions/
|
|
- toolkit/components/places/
|
|
- toolkit/components/search/
|
|
exclude: []
|
|
# TODO: Figure out if we can add sjs type support.
|
|
extensions: ['mjs', 'js', 'jsx', '.ts']
|
|
support-files:
|
|
- 'tools/@types/**'
|
|
- 'tools/lint/typescript.yml'
|
|
- 'tools/lint/typescript/**'
|
|
type: external
|
|
payload: typescript:lint
|
|
# Reuse the ESLint set-up, as that installs TypeScript at the top level
|
|
# alongside the other required modules.
|
|
setup: eslint:setup
|