I have a question regarding naming conventions in my AngularJS app. Currently, all my service names start with an uppercase character. However, I am facing an issue where service parameters must match the service name, but Resharper's JavaScript "Function Parameter" name rule does not allow parameters to start with an uppercase character.
Is there a way to customize or adjust the JavaScript "Function Parameter" name rule in Resharper to permit service names that begin with an uppercase character? Alternatively, are there any other approaches to circumvent this warning?
In the code snippet below, the parameter BudgetingService
triggers a warning from Resharper stating: "Name 'BudgetingService' does not adhere to rule 'Function Parameter'. Suggested name is 'budgetingService'."
app.controller('BudgetingController',
['$scope', '$rootScope', '$window', 'BudgetingService',
function ($scope, $rootScope, $window, BudgetingService) {
// ...
}]);