0

I am trying to get the .brackets.json to work with JSLint in Brackets 1.0, as it is described here. Actually I want a global JSLint configuration instead of adding the JSLint-lines to each file.

For an MWE, I created this very simple project, where I want the JSLint option plusplus to be enabled.

As soon I open this project in Brackets, I am still getting an "Unexpected '++' JSLint Error. It seems, that the .brackets.json is ignored by Brackets.

How can I enable/use the .brackets.json?

Dennis
  • 4,011
  • 7
  • 36
  • 50

1 Answers1

0

In your Brackets editor, go to Debug > Open Preferences File, which will open the brackets.json file. Add this to the file:

"jslint.options": { "plusplus": true }

Save the file, close the Brackets editor, and reload.

aWebDeveloper
  • 36,687
  • 39
  • 170
  • 242
  • This decision is for global settings. But question is about project specific settings. They are not working for me as well – Ruslan Zhomir Apr 11 '16 at 10:43