When working in VSC, I have configured ESlint with the Airbnb settings. To test it out, I ran this code:
const a = 'a';
const b = `${a}Hi`;
const d = function () {
return b;
};
d();
The issue arises with the linebreaks:
Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
There are 6 instances of this error, along with:
Unexpected unnamed function. (func-names)
This repetitive error is starting to become frustrating. Could it be due to the configured style guide?