🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@glint/config

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glint/config

Tools to read configuration for @glint packages

Source
npmnpm
Version
0.4.7
Version published
Maintainers
2
Created
Source

@glint/config

This package is used by various other glint packages to locate any custom configuration.

Config Specification

@glint/config uses cosmiconfig to locate your configuration file, so several possible file formats/names are possible:

  • JSON in a "glint" key in your package.json
  • YAML or JSON in .glintrc, .glintrc.yml or .glintrc.json
  • JavaScript in .glintrc.js or glint.config.js

Configuration will be searched upward starting from the directory in whicn your tsconfig.json is located.

Config Options

  • include: A glob or array of globs specifying, relative to the location of your config file, what files should be considered for template processing by glint. Default: '**/*.ts'.
  • exclude: A glob or array of globs specifying, relative to the location of your config file, what files should not considered for template processing by glint. Default: '**/node_modules/**'.

Note that if a file is matched by both include and exclude, it will be ignored.

FAQs

Package last updated on 15 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts