You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using eslint-config-google, for my styles with eslint and I keep getting an error for all the files I am linting 1:1 error Definition for rule 'switch-colon-spacing' was not found
My guess is you're using a pre-4.0 version of eslint, which is when that rule was added. Without knowing more about your setup, it's impossible to say.
If you have not found a solution for this I updated out .eslintrc.yml to the following as we are not really interested in using the rule in our lint configuration. See snippet below:
I am using
eslint-config-google
, for my styles with eslint and I keep getting an error for all the files I am linting1:1 error Definition for rule 'switch-colon-spacing' was not found
My .eslintrc this:
I am unable to see what's wrong here
The text was updated successfully, but these errors were encountered: