TidyConfig constructor

const TidyConfig({
  1. required bool emojis,
  2. required bool noComments,
  3. required bool noBlankLines,
  4. required bool sortPubspec,
  5. required bool groupProjectByFolder,
  6. required List<String> ignoredFiles,
  7. required List<CustomTier> customTiers,
  8. bool separateRelativeImports = true,
  9. bool testImports = false,
  10. List<String> testImportPrefixes = defaultTestImportPrefixes,
  11. bool sortExports = false,
  12. int groupProjectByFolderDepth = 0,
  13. bool removeDuplicates = false,
  14. bool removeUnused = false,
  15. bool flat = false,
  16. bool relativeImports = false,
  17. List<String> reportRoots = const [],
  18. bool attachComments = false,
  19. List<String> issues = const [],
})

Implementation

const TidyConfig({
  required this.emojis,
  required this.noComments,
  required this.noBlankLines,
  required this.sortPubspec,
  required this.groupProjectByFolder,
  required this.ignoredFiles,
  required this.customTiers,
  this.separateRelativeImports = true,
  this.testImports = false,
  this.testImportPrefixes = defaultTestImportPrefixes,
  this.sortExports = false,
  this.groupProjectByFolderDepth = 0,
  this.removeDuplicates = false,
  this.removeUnused = false,
  this.flat = false,
  this.relativeImports = false,
  this.reportRoots = const [],
  this.attachComments = false,
  this.issues = const [],
});