brandongregoryscott / eslint-plugin-collation

ESLint plugin for making your code easier to read, with autofix and TypeScript support
https://eslint-plugin-collation.brandonscott.me
Apache License 2.0
4 stars 0 forks source link

`sort-dependency-list` does not preserve comments #66

Open brandongregoryscott opened 1 year ago

brandongregoryscott commented 1 year ago
-  }, [
-    isSupported,
-    isEnabled,
-    autocomplete,
-    destinationId,
-    destinationSlug,
-    action,
-    field,
-    // leaving the below line in and replacing with mapping key to satisfy the warnings, however im not sure if this actually works
-    // or not as we dont currently have this codepath in use hence the comment
-    // JSON.stringify(mapping),
-    mapping,
-    settings,
-    metadataId,
-    isFromActionTester
-  ])
+  }, [action, autocomplete, destinationId, destinationSlug, field, isEnabled, isFromActionTester, isSupported, mapping, metadataId, settings])