Friday 12 March 2021

how to make .eslintrc accept single quotes

I am facing this error when I 'npm start' my project:

enter image description here

I already know the problem is in the .eslintrc file so I added this:

"rules": {
    "quotes": [2, "single"],
}

and it's not working and it's the only solution I know

Update:

I tried deleting eslintConfig from package.json and it didn't work

and also "quotes": ["error", "single"] didn't work



from how to make .eslintrc accept single quotes

No comments:

Post a Comment