Skip to content

Commit

Permalink
Fixed generating flat eslint config file
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPshul committed Oct 15, 2024
1 parent 46371d6 commit 09935cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/func/src/generators/init/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const setupFlatEslintConfig = (tree: Tree, appRoot: string, fileName: string) =>
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
// Override or add rules here
rules: {},
languageOptions: { parserOptions: { project: [${path.posix.join(...projectJsonPath.split(path.sep))}], } },
languageOptions: { parserOptions: { project: ['${path.posix.join(...projectJsonPath.split(path.sep))}'], } },
},
{
files: ['**/*.ts', '**/*.tsx'],
Expand Down

0 comments on commit 09935cb

Please sign in to comment.