# (force-equal-zero)


## Rule Details

This rule aims to unify the code style in our projects, by standardizing the check if a value is zero. 

Examples of **incorrect** code for this rule:

```js

const foo = bar < 1;

if(bar < 1){
  
}

if(foobar.length < 1){
  
}

```

Examples of **correct** code for this rule:

```js

const foo = bar === 0;

if(bar === 0){

}

if(foobar.length === 0){

}

```
