Which Files?
Use include
and exclude
to specify files / folders / globs. E.g.:
Globs
For globs :
**/*
(e.g. sample usagesomefolder/**/*
) means all folder and any files (the extensions.ts
/.tsx
will be assumed and ifallowJs:true
so will.js
/.jsx
)
files
option
files
optionAlternatively, you can use files
to be explicit:
But it is not recommended as you have to keep updating it. Instead use include
to just add the containing folder.
Last updated