insomnia/packages/insomnia-config
2021-12-10 23:10:20 +00:00
..
src human readable errors for insomnia config validation (#4133) 2021-10-21 21:58:57 +13:00
.eslintignore
.eslintrc.js
jest.config.js
package-lock.json version packages lib@2.4.1 2021-12-09 10:19:11 +13:00
package.json cache lint (#4302) 2021-12-10 23:10:20 +00:00
README.md
tsconfig.build.json
tsconfig.json

Insomnia Config

Design Goals

  • ensure that changing the root TypeScript types will generate new config
  • ensure that making a breaking change to TypeScript will cause failing tests to be updated
  • run validation on the CI

Editor Integration

To get editor integration for this schema, tell your IDE about it. For example, in VS Code add the following to your .vscode/settings.json:

{
  "json.schemas": [
    {
      "fileMatch": [
        "insomnia.config.json",
      ],
      "url": "https://raw.githubusercontent.com/Kong/insomnia/develop/packages/insomnia-config/src/generated/schemas/insomnia.schema.json"
    }
  ]
}