Sublime ignores eslint settings

I am using the standard linter via the SublimeLinter-contrib-eslint package and it seems to ignore these entries in both SublimeLinter.sublime-settings and ~/.eslintrc:

{
  "globals": {
      "describe": true,
      "it": true,
      "expect": true,
      "angular": true
  }
}

I am still getting these globals as undefined. Any other way to declare them?

Answers


I'm not sure about SublimeLInter.sublime-settings, but ~/.eslintc file will only be used if no other eslint config files are found. Since you are using standard, I assume that you have another .eslintrc file somewhere. You will have to add those globals there.


Need Your Help

Declaring SQLite Variables

sql variables stored-procedures sqlite

Is there a way to declare variables in SQLite. I'm using a combination of C# and Objective C, both of which support the addition of parameters but how do I go about declaring variables through the