-
Updated
Jul 23, 2021 - JavaScript
clean-code
Here are 1,313 public repositories matching this topic...
-
Updated
Jul 13, 2021 - C#
-
Updated
May 20, 2021 - C#
-
Updated
May 24, 2021 - TypeScript
-
Updated
Jul 19, 2021 - C#
-
Updated
Jun 18, 2019 - JavaScript
Let's add MinVer and on successful builds generate a release.
-
Updated
Dec 4, 2019 - Java
-
Updated
Jul 22, 2021 - C#
-
Updated
May 23, 2021 - JavaScript
- PHPMD version: 2.10.0
- PHP Version: 8.0.3
- Installation type: composer
- Operating System / Distribution & Version: Ubuntu 20.04
Current Behavior
Getting "Avoid unused parameters such as '$createNewUser'" violation when declaring parameters in the constructor in php8.
Expected Behavior
No violation, as php8 introduces the possibility of declaring class prorieties in the
Why not Hilt?
Why don't you use Hilt? Google says
Dagger and Hilt code can coexist in the same codebase. However, in most cases it is best to use Hilt to manage all of your usage of Dagger on Android.
-
Updated
Jun 22, 2021
-
Updated
Feb 22, 2021 - C#
-
Updated
May 10, 2021 - Kotlin
-
Updated
Jul 4, 2021 - Swift
-
Updated
Jul 7, 2021
-
Updated
Oct 4, 2020 - JavaScript
-
Updated
Jul 18, 2021 - C#
-
Updated
Jan 31, 2021
Blocked By: wix/vscode-glean#97
Example:
class Foo extends Component {
render() {
return (<div>
{this.props.foo.map((bar) => <div>{bar.x}</div>)}
</div>)
}
}
Current:
const Foo = props => {
const foo = useRef();
const x = useRef();
return <div>
{foo.current.map(bar => <div>{x.current}</div>)}
-
Updated
Jul 11, 2021 - Dart
-
Updated
Feb 8, 2021
-
Updated
May 18, 2021 - PHP
-
Updated
Oct 15, 2019 - Swift
Expression Guard
An Expression-based Guard could be used to provide flexibility and could cover any case not already taken care of by the library, without the need to write your own guard clause method.
public static T AgainstExpression<T>([JetBrainsNotNull] this IGuardClause<T> guardClause, [JetBrainsNotNull] Func<T, bool> func, [JetBrainsNotNull] string message) where T : struct
{
if (func(gu
-
Updated
Jun 11, 2021 - TypeScript
Improve this page
Add a description, image, and links to the clean-code topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the clean-code topic, visit your repo's landing page and select "manage topics."
https://github.com/kgrzybek/modular-monolith-with-ddd/blob/54d209639e501301e879aa0d0a84c9ea49e4689e/src/Modules/Meetings/Domain/Meetings/Rules/MeetingAttendeesLimitMustBeGreaterThanGuestsLimitRule.cs#L1-L21
I believe the comparison operator used in the
IsBroken
method is wrong because the rule is checking that meeting attendees limit must be greater than guests limit.