In .eslintrc.js I have tried:
rules: {
"object-shorthand": "off", //tried 0 aswell
}
but I still get
error Expected method shorthand object-shorthand
I want to use a combination of arrow and regular functions but eslint keeps complaining.
question from:https://stackoverflow.com/questions/66063961/how-to-turn-off-object-shorthand