{"action":"created","issue":{"url":"https://api.github.com/repos/adametry/gulp-eslint/issues/87","labels_url":"https://api.github.com/repos/adametry/gulp-eslint/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/adametry/gulp-eslint/issues/87/comments","events_url":"https://api.github.com/repos/adametry/gulp-eslint/issues/87/events","html_url":"https://github.com/adametry/gulp-eslint/issues/87","id":103686046,"number":87,"title":"Linting not happening (Windows 7)","user":{"login":"PanzerKunst","id":1530772,"avatar_url":"https://avatars.githubusercontent.com/u/1530772?v=3","gravatar_id":"","url":"https://api.github.com/users/PanzerKunst","html_url":"https://github.com/PanzerKunst","followers_url":"https://api.github.com/users/PanzerKunst/followers","following_url":"https://api.github.com/users/PanzerKunst/following{/other_user}","gists_url":"https://api.github.com/users/PanzerKunst/gists{/gist_id}","starred_url":"https://api.github.com/users/PanzerKunst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PanzerKunst/subscriptions","organizations_url":"https://api.github.com/users/PanzerKunst/orgs","repos_url":"https://api.github.com/users/PanzerKunst/repos","events_url":"https://api.github.com/users/PanzerKunst/events{/privacy}","received_events_url":"https://api.github.com/users/PanzerKunst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-28T09:39:55Z","updated_at":"2015-08-31T06:36:40Z","closed_at":"2015-08-31T06:36:40Z","body":"Hi,\r\n\r\nI can't get gulp-eslint to lint. I have created a project with the minimum files, the task is launched, but no error is displayed although the unique file to lint has errors.\r\n\r\nProject files:\r\n- package.json\r\n- gulpfile.js\r\n- scripts/index.js\r\n\r\npackage.json:\r\n\r\n    {\r\n      \"name\": \"gulp-eslint-test\",\r\n      \"version\": \"1.0.0\",\r\n      \"description\": \"\",\r\n      \"author\": \"\",\r\n      \"license\": \"ISC\",\r\n      \"devDependencies\": {\r\n        \"gulp\": \"^3.9.0\",\r\n        \"gulp-eslint\": \"^1.0.0\"\r\n      }\r\n    }\r\n\r\ngulpfile.js:\r\n\r\n    var gulp = require('gulp'),\r\n        eslint = require('gulp-eslint');\r\n\r\n    gulp.task('lint', function () {\r\n        return gulp.src('scripts/index.js')\r\n            // eslint() attaches the lint output to the eslint property\r\n            // of the file object so it can be used by other modules.\r\n            .pipe(eslint())\r\n            // eslint.format() outputs the lint results to the console.\r\n            // Alternatively use eslint.formatEach() (see Docs).\r\n            .pipe(eslint.format())\r\n            // To have the process exit with an error code (1) on\r\n            // lint error, return the stream and pipe to failOnError last.\r\n            .pipe(eslint.failOnError());\r\n    });\r\n\r\n    gulp.task('default', ['lint'], function () {\r\n        // This will only run if the lint task is successful...\r\n    });\r\n\r\nscripts/index.js:\r\n\r\n    CR.Index = {};\r\n\r\nResult of `gulp` command:\r\n\r\n    [11:34:33] Using gulpfile c:\\Temp\\gulp-eslint-test\\gulpfile.js\r\n    [11:34:33] Starting 'lint'...\r\n    [11:34:33] Finished 'lint' after 52 ms\r\n    [11:34:33] Starting 'default'...\r\n    [11:34:33] Finished 'default' after 7.5 μs\r\n\r\nThe lint should fail, indicating that `CR` is undefined in `index.js`.\r\n\r\nI'm using Windows 7.\r\n\r\nAny clue where the issue is?\r\n"},"comment":{"url":"https://api.github.com/repos/adametry/gulp-eslint/issues/comments/136280087","html_url":"https://github.com/adametry/gulp-eslint/issues/87#issuecomment-136280087","issue_url":"https://api.github.com/repos/adametry/gulp-eslint/issues/87","id":136280087,"user":{"login":"PanzerKunst","id":1530772,"avatar_url":"https://avatars.githubusercontent.com/u/1530772?v=3","gravatar_id":"","url":"https://api.github.com/users/PanzerKunst","html_url":"https://github.com/PanzerKunst","followers_url":"https://api.github.com/users/PanzerKunst/followers","following_url":"https://api.github.com/users/PanzerKunst/following{/other_user}","gists_url":"https://api.github.com/users/PanzerKunst/gists{/gist_id}","starred_url":"https://api.github.com/users/PanzerKunst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PanzerKunst/subscriptions","organizations_url":"https://api.github.com/users/PanzerKunst/orgs","repos_url":"https://api.github.com/users/PanzerKunst/repos","events_url":"https://api.github.com/users/PanzerKunst/events{/privacy}","received_events_url":"https://api.github.com/users/PanzerKunst/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T06:36:39Z","updated_at":"2015-08-31T06:36:39Z","body":"> As of eslint 1.0.0, all rules are off by default\r\n\r\nProblem solved, thanks!"}}