Skip to content

Commit

Permalink
fix: change generated biome.json without dot
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfdez committed Aug 8, 2024
1 parent 5591535 commit c2ae64f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugin/src/generators/configuration/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function normalizeSchema(tree: Tree, options: ConfigurationGeneratorSchema): Nor

function createBiomeConfig(tree: Tree, options: NormalizedSchema) {
const config = {
extends: [joinPathFragments(offsetFromRoot(options.projectRoot), '.biome.json')],
extends: [joinPathFragments(offsetFromRoot(options.projectRoot), 'biome.json')],
linter: {
enabled: false,
rules: {},
Expand All @@ -44,7 +44,7 @@ function createBiomeConfig(tree: Tree, options: NormalizedSchema) {
};
}

writeJson(tree, joinPathFragments(options.projectRoot, '.biome.json'), config);
writeJson(tree, joinPathFragments(options.projectRoot, 'biome.json'), config);
}

function addBiomeTarget(tree: Tree, options: NormalizedSchema) {
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/utils/config-file.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const biomeConfigFile = '.biome.json';
export const biomeConfigFile = 'biome.json';

0 comments on commit c2ae64f

Please sign in to comment.