-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easy dotnet conventions to verify #141
base: master
Are you sure you want to change the base?
Easy dotnet conventions to verify #141
Commits on Sep 14, 2023
-
FileConventions: add failing test
Add tests for DefiningEmptyStringsWithDoubleQuotes function.
Configuration menu - View commit details
-
Copy full SHA for 5071790 - Browse repository at this point
Copy the full SHA 5071790View commit details -
FileConventions: implement the function
Implement DefiningEmptyStringsWithDoubleQuotes function.
Configuration menu - View commit details
-
Copy full SHA for 854bb84 - Browse repository at this point
Copy the full SHA 854bb84View commit details -
FileConventions: add failing test
Add tests for ProjFilesNamingConvention function.
Configuration menu - View commit details
-
Copy full SHA for 64aa0ef - Browse repository at this point
Copy the full SHA 64aa0efView commit details -
FileConventions: implement the function
Implement ProjFilesNamingConvention function.
Configuration menu - View commit details
-
Copy full SHA for ac8e438 - Browse repository at this point
Copy the full SHA ac8e438View commit details -
FileConventions: add failing test
Add tests for NotFollowingNamespaceConvention function.
Configuration menu - View commit details
-
Copy full SHA for be96888 - Browse repository at this point
Copy the full SHA be96888View commit details -
FileConventions: implement the function
Implement NotFollowingNamespaceConvention function.
Configuration menu - View commit details
-
Copy full SHA for 2ad886c - Browse repository at this point
Copy the full SHA 2ad886cView commit details -
FileConventions.Test: add failing test
Add more tests for NotFollowingNamespaceConvention fn.
Configuration menu - View commit details
-
Copy full SHA for 4cb987e - Browse repository at this point
Copy the full SHA 4cb987eView commit details -
FileConventions: fix the function
Fix NotFollowingNamespaceConvention function.
Configuration menu - View commit details
-
Copy full SHA for bf64190 - Browse repository at this point
Copy the full SHA bf64190View commit details -
FileConventions: add failing test
Add one more test for NotFollowingNamespaceConvention function.
Configuration menu - View commit details
-
Copy full SHA for f95737a - Browse repository at this point
Copy the full SHA f95737aView commit details -
FileConventions: fix csharp namespace
Function DoesNamespaceInclude doesn't working on *.cs namespace.
Configuration menu - View commit details
-
Copy full SHA for fe91fed - Browse repository at this point
Copy the full SHA fe91fedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e5b0cc - Browse repository at this point
Copy the full SHA 2e5b0ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 842e3c1 - Browse repository at this point
Copy the full SHA 842e3c1View commit details -
FileConventions: use BetterAssert() & update Fsdk
We updated fsdk to the latest version becuase the old version of fsdk does not have `Misc.BetterAssert` and we use `Misc.BetterAssert()` becuase assert is for debug mode.
Configuration menu - View commit details
-
Copy full SHA for 040d85d - Browse repository at this point
Copy the full SHA 040d85dView commit details -
FileConventions(.Test): applying f# standard style
Using RemoveEmptyEntries for split & removing extra parans & Regex does not require a new keyword & string formatting has been corrected.
Configuration menu - View commit details
-
Copy full SHA for b85986b - Browse repository at this point
Copy the full SHA b85986bView commit details -
FileConventions: add failing test
Add tests for NotFollowingConsoleAppConvention() function.
Configuration menu - View commit details
-
Copy full SHA for 4cbf1bc - Browse repository at this point
Copy the full SHA 4cbf1bcView commit details -
FileConventions: fix the function
Ensure that projects that aren't console applications don't have source files with console methods. Co-authored-by: Parham <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c15b542 - Browse repository at this point
Copy the full SHA c15b542View commit details -
FileConventions: add failing test
Add tests for NotFollowingConsoleAppConvention function and we fix ConsoleAppConvention2 test so that project name does not contradict new tests.
Configuration menu - View commit details
-
Copy full SHA for e532e35 - Browse repository at this point
Copy the full SHA e532e35View commit details -
FileConvention: fix the function
Fix NotFollowingConsoleAppConvention() function.
Configuration menu - View commit details
-
Copy full SHA for cc7b70e - Browse repository at this point
Copy the full SHA cc7b70eView commit details -
FileConventions: add failing test
Add tests for async project, Async.RunSynchronously only allowed in console applications.
Configuration menu - View commit details
-
Copy full SHA for 86db3b3 - Browse repository at this point
Copy the full SHA 86db3b3View commit details -
FileConvention: fix the function
Fix NotFollowingConsoleAppConvention() function.
Configuration menu - View commit details
-
Copy full SHA for 4ee7a19 - Browse repository at this point
Copy the full SHA 4ee7a19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e91ea - Browse repository at this point
Copy the full SHA 18e91eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f8f770 - Browse repository at this point
Copy the full SHA 2f8f770View commit details -
FileConventions: add failing test
Add test for NotFollowingNamespaceConvention fn.
Configuration menu - View commit details
-
Copy full SHA for f937c57 - Browse repository at this point
Copy the full SHA f937c57View commit details -
FileConvention: fix the function
A .fs/fsx file might not have a namespace sometimes.
Configuration menu - View commit details
-
Copy full SHA for edd540f - Browse repository at this point
Copy the full SHA edd540fView commit details -
FileConventions.Test: add failing test
`Contains()` method catches a lot of false-positives and not suitable for this situation so we used regex. Co-authored-by: Parham <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e71117f - Browse repository at this point
Copy the full SHA e71117fView commit details -
FileConventions: fix empty string false-positives
Fix `DefiningEmptyStringsWithDoubleQuotes()` function by using regex insted of `Contains()`. Co-authored-by: Parham <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 071e30a - Browse repository at this point
Copy the full SHA 071e30aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1731514 - Browse repository at this point
Copy the full SHA 1731514View commit details -
FileConventions: improvements to Library.fs
Finding printf and console methods in files & removed printf methods used for debugging purposes & added file filter to ReturnAllProjectSourceFile.
Configuration menu - View commit details
-
Copy full SHA for f1bfbb0 - Browse repository at this point
Copy the full SHA f1bfbb0View commit details -
scripts: add dotNetFileConventions.fsx
The newly developed script can detect wrong empty strings, wrong project directories, incorrect namespace usage, and incorrect methods in non-console applications.
Configuration menu - View commit details
-
Copy full SHA for e6dd18d - Browse repository at this point
Copy the full SHA e6dd18dView commit details -
FileConventions: improvements to Library.fs
An assert error message has been added for *.fsx files & renaming the func.
Configuration menu - View commit details
-
Copy full SHA for 280d634 - Browse repository at this point
Copy the full SHA 280d634View commit details