I had to add two new rules prefer-const
and prefer-arrow-callback
, disable them. So add inside rules
, but looks like the eslint stop to work, it does not format the document.
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": [
"airbnb-base"
],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"prefer-const": false,
"prefer-arrow-callback":false
}
}
Did I do it right or forget anything?