Closed gastonche closed 6 years ago
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.
@gastonche
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:
extends:
- google
parser: "babel-eslint"
parserOptions:
emcaVersion: 6
sourceType: module
emcaFeatures:
modules: true
rules:
switch-colon-spacing: 0
Options below: Severity should be one of the following: 0 = off, 1 = warn, 2 = error.
@philipwalton @gastonche I was working in a repo that had version 3 of eslint, upgrading to eslint 4 fixed the issue!
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