alias-hq: Error! Unexpected token ] in "tsconfig.json" at position 666

My tsconfig.json is :

{
  "compilerOptions": {
    "target": "esnext",
    "module": "commonjs",
    "lib": ["dom", "es2015", "esnext"],
    "outDir": "dist",
    "jsx": "react",
    "baseUrl": "./src",
    "paths": {
      "@src/*": ["src/*"],
      "@sections/*": ["src/app/sections/*"],
      "@app/*": ["src/app/*"]
    },
    "strict": true,
    "sourceMap": true,
    "skipLibCheck": true,
    "noImplicitAny": false,
    "noImplicitThis": false,
    "moduleResolution": "node",
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "resolveJsonModule": true,
    "allowJs": true
  },
  "include": ["src/**/*"],
  "exclude": [
    "src/index.js",
    "dist",
  ]
}

Executing alias-hq CLI :

./node_modules/.bin/alias-hq 

  == Alias HQ ==

  Error! Unexpected token ] in "tsconfig.json" at position 666

  Edit the file to fix this, then try again

Why? How to solve the problem?

typescript : v.4.1.5

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (18 by maintainers)

Commits related to this issue

Most upvoted comments

I just noticed you have 🦆, + 🐝 in your profile. Two of my 3 favourite creatures along with 🐙 !

Actually, add crows to that list!

Actually, the fact that tsconfck resolves extends would also fix #30