I have created a react-codemirror 2 component in my react app but the linting feature of the package is not working. I tried browsing other stack overflow questions but since the questions are at least 2 years old it looks like the file structure for the original library i.e. codemirror has been changed and none of the solution seem to
Tag: lint
Eslint glob (**) is not considering all directories recursively
I am using OSX, in my package.json file I have the script entry: “lint”: “eslint ./src/**/*.js” However, when I run npm lint only the 1st level of directories are being considered for linting, eg. ./src/dir/* not ./src/dir/nested_dir/*. I was under the impression that ** glob indicated recursive search? Does anyone know how I can make this behave as expected? Answer
How to do JSLint in Vim
I spend my days in vim, currently writing a lot of JavaScript. I’ve been trying to find a way to integrate JSLint or something similar into vim to improve my coding. Has anyone managed to do something like this? I tried this: Javascript Syntax Checking From Vim, unfortunately the output is very crude. Answer You can follow the intructions from