Skip to content

SYNG4004 - Domain glob error

Domain: syng
Severity: USER

A file pattern (glob) is invalid.

The include or exclude patterns use glob syntax. An invalid pattern will produce this error.

Example

clojure
undefined

Patterns like **[invalid with unbalanced brackets are invalid.

Solution

Fix the glob pattern syntax. Valid patterns include:

  • *.js - all .js files in current directory
  • **/*.ts - all .ts files recursively
  • src/**/*.{js,ts} - js and ts files under src/
  • !node_modules/** - exclude (with ! prefix in some contexts)

Check for unbalanced brackets [] or braces {}.

SYNG4005

Copyright © 2022-present Semantic Works, Inc.