- Clone
rabbitfang/eslint-issue-demo - Install ESLint
1.4.0to1.8.0. (Can install local copy vianpm install). - Run
eslint .. (Can run local copy vianode_modules/.bin/eslint .)
There should be a single no-console error for test.js.
No error occurs.
The first line of .eslintignore is **/*.js, which (properly) ignores all JS files.
The next line adds an exception for test.js (or at least, it should).
The proper behavior can be demonstrated in ESLint version 1.3.1.
Prepending ./ to the first line of .eslintignore (changing the line to ./**/*.js) results in correct behavior in 1.8.0.