-
Updated
Jul 23, 2021 - JavaScript
clean-code
Here are 1,339 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
Aug 12, 2021 - C#
-
Updated
May 23, 2021 - JavaScript
- PHPMD version: 2.9.1
- PHP Version: 7.4.10
- Installation type: composer
- Operating System / Distribution & Version: Windows 10 / Linux
Current Behavior
I'm trying to use exclude-pattern in a ruleset, but the same path doesn't work in windows/linux at the same time.
Usually I use a path like
<exclude-pattern>application/folder</exclude-pattern>
But, this only works for linux
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
Jul 4, 2021 - Swift
-
Updated
May 10, 2021 - Kotlin
-
Updated
Jul 7, 2021
-
Updated
Oct 4, 2020 - JavaScript
-
Updated
Jul 30, 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
Aug 9, 2021 - PHP
-
Updated
Jan 2, 2021
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
Oct 15, 2019 - Swift
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.