diff --git a/turbo/generators/eslint.config.js b/turbo/generators/eslint.config.js new file mode 100644 index 0000000..5ca5fc6 --- /dev/null +++ b/turbo/generators/eslint.config.js @@ -0,0 +1,13 @@ +import baseConfig from "@repo/core-eslint/base"; + +export default [ + ...baseConfig, + { + // Templates are Handlebars partials emitted by the generator. They + // contain {{...}} placeholders that aren't valid TypeScript on their + // own, so they MUST NOT be linted as TS. The .hbs extension also + // already isn't picked up by eslint by default — this is belt-and- + // suspenders for IDE eslint daemons that scan by directory. + ignores: ["templates/**"], + }, +]; diff --git a/turbo/generators/package.json b/turbo/generators/package.json new file mode 100644 index 0000000..9b4bb97 --- /dev/null +++ b/turbo/generators/package.json @@ -0,0 +1,6 @@ +{ + "name": "@repo/turbo-generators", + "private": true, + "version": "0.0.0", + "type": "module" +}