Skip to content

Commit

Permalink
Remove dart_style dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
meysammahfouzi committed Feb 1, 2024
1 parent 23d599c commit 107497a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
8 changes: 0 additions & 8 deletions .idea/libraries/Dart_Packages.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/src/generator.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'dart:convert';
import 'package:dart_style/dart_style.dart';

import 'common.dart';
import 'keywords.dart';
Expand Down Expand Up @@ -29,7 +28,7 @@ Map<String, String> generateDartClasses(String className, String jsonString,
mergedFileContent += fileContent;
});
generatedFiles.clear();
generatedFiles[firstFileName] = DartFormatter().format(mergedFileContent);
generatedFiles[firstFileName] = mergedFileContent;
}

return generatedFiles;
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ environment:

dependencies:
build: ^2.4.1
dart_style: ^2.3.4

dev_dependencies:
test: ^1.16.8
Expand Down

0 comments on commit 107497a

Please sign in to comment.