Initial commit
This commit is contained in:
13
turbo/generators/eslint.config.js
Normal file
13
turbo/generators/eslint.config.js
Normal file
@@ -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/**"],
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user