{"action":"closed","issue":{"url":"https://api.github.com/repos/jscs-dev/grunt-jscs/issues/85","labels_url":"https://api.github.com/repos/jscs-dev/grunt-jscs/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/grunt-jscs/issues/85/comments","events_url":"https://api.github.com/repos/jscs-dev/grunt-jscs/issues/85/events","html_url":"https://github.com/jscs-dev/grunt-jscs/issues/85","id":66110762,"number":85,"title":"How to ignore files and folders? ","user":{"login":"dominik0711","id":1011188,"avatar_url":"https://avatars.githubusercontent.com/u/1011188?v=3","gravatar_id":"","url":"https://api.github.com/users/dominik0711","html_url":"https://github.com/dominik0711","followers_url":"https://api.github.com/users/dominik0711/followers","following_url":"https://api.github.com/users/dominik0711/following{/other_user}","gists_url":"https://api.github.com/users/dominik0711/gists{/gist_id}","starred_url":"https://api.github.com/users/dominik0711/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominik0711/subscriptions","organizations_url":"https://api.github.com/users/dominik0711/orgs","repos_url":"https://api.github.com/users/dominik0711/repos","events_url":"https://api.github.com/users/dominik0711/events{/privacy}","received_events_url":"https://api.github.com/users/dominik0711/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-03T08:50:44Z","updated_at":"2015-04-03T10:33:13Z","closed_at":"2015-04-03T10:33:13Z","body":"I would like to ignore a certain sub-folder or files inside certain folders. How do I do that? Generally all files which are defined in my `jshint` should be taken **BUT** a certain `sub-folder` should be `ignored`. Is there a `ignores option`? I would like to ignore all `js files` in my folder: `<%= arcwork.source %>/js/3rd/**/*.js` . This is already defined in my `jshint` task.\r\n\r\nThis is what I have so far:\r\n\r\n```\r\n    // ************************************************************************\r\n    // jshint\r\n    // ************************************************************************\r\n    jshint: {\r\n      options: {\r\n        jshintrc: '.jshintrc',\r\n        ignores: ['<%= arcwork.source %>/js/3rd/**/*.js']\r\n      },\r\n      all: {\r\n        src: [ 'Gruntfile.js',\r\n               '<%= arcwork.source %>/js/**/*.js',\r\n               '<%= arcwork.test %>/**/*.js',\r\n           ],\r\n      },\r\n    },\r\n    // ************************************************************************\r\n    // jscs\r\n    // ************************************************************************\r\n    jscs: {\r\n      src: \"<%= jshint.all %>\",\r\n      options: {\r\n        config: \"../.jscsrc\"\r\n        // Is there a option to ignore folders???\r\n      }\r\n    }\r\n"}}