{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/attw.json","$comment":"Sources: https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/packages/cli/README.md, https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/packages/cli/src/index.ts, and https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/packages/cli/src/render/index.ts","title":"attw configuration","description":"Configuration for the Are The Types Wrong? CLI.","type":"object","additionalProperties":false,"properties":{"pack":{"description":"Run npm pack in the specified directory and delete the resulting tarball afterwards.","type":"boolean"},"fromNpm":{"description":"Read from the npm registry instead of a local file.","type":"boolean"},"definitelyTyped":{"description":"Whether to include DefinitelyTyped types, or the version/range/path of the @types package to use.","oneOf":[{"type":"boolean"},{"type":"string","minLength":1}],"default":true},"format":{"description":"Output format.","enum":["auto","table","table-flipped","ascii","json"],"default":"auto"},"quiet":{"description":"Do not print anything to STDOUT.","type":"boolean"},"entrypoints":{"$ref":"#/definitions/stringArray","description":"Exhaustive list of entrypoints to check. Specifying this disables automatic entrypoint discovery and overrides includeEntrypoints and excludeEntrypoints."},"includeEntrypoints":{"$ref":"#/definitions/stringArray","description":"Entrypoints to check in addition to automatically discovered ones."},"excludeEntrypoints":{"$ref":"#/definitions/stringArray","description":"Entrypoints to exclude from checking."},"entrypointsLegacy":{"description":"In packages without exports, consider every published code file as an entrypoint when no entrypoints are otherwise detected or configured.","type":"boolean"},"ignoreRules":{"description":"Rules or problems to ignore.","type":"array","items":{"type":"string","enum":["no-resolution","untyped-resolution","false-cjs","false-esm","cjs-resolves-to-esm","fallback-condition","cjs-only-exports-default","named-exports","false-export-default","missing-export-equals","unexpected-module-syntax","internal-resolution-error"]},"default":[]},"ignoreResolutions":{"description":"UNDOCUMENTED. Legacy config-only list of module resolution modes to ignore. These values are combined with the modes ignored by the selected profile.","type":"array","items":{"type":"string","enum":["node10","node16-cjs","node16-esm","bundler"]},"default":[]},"profile":{"description":"Analysis profile.","enum":["strict","node16","esm-only"],"default":"strict"},"summary":{"description":"Print summary information about the different errors.","type":"boolean"},"emoji":{"description":"Print information with emojis.","type":"boolean"},"color":{"description":"Print output with colors.","type":"boolean"}},"not":{"required":["pack","fromNpm"],"properties":{"pack":{"const":true},"fromNpm":{"const":true}}},"definitions":{"stringArray":{"type":"array","items":{"type":"string","minLength":1}}}}