My problem is that I want to configure eslint to detect an error when it detects more than one line break after each code statement.
console.log('1');
console.log(' 2');
These are the rules I currently have active:
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"windows"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"never"
]
}
I thought linebreak-style would help me for this but it doesn't seem to work. I am using v5.16 of eslint.
If I'm not mistaken , it's the following :
The configuration fields are the following: