{"action":"opened","issue":{"url":"https://api.github.com/repos/sasstools/sass-lint/issues/478","labels_url":"https://api.github.com/repos/sasstools/sass-lint/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/sasstools/sass-lint/issues/478/comments","events_url":"https://api.github.com/repos/sasstools/sass-lint/issues/478/events","html_url":"https://github.com/sasstools/sass-lint/issues/478","id":126307606,"number":478,"title":"Ignore node_modules from CLI.","user":{"login":"msecret","id":1701077,"avatar_url":"https://avatars.githubusercontent.com/u/1701077?v=3","gravatar_id":"","url":"https://api.github.com/users/msecret","html_url":"https://github.com/msecret","followers_url":"https://api.github.com/users/msecret/followers","following_url":"https://api.github.com/users/msecret/following{/other_user}","gists_url":"https://api.github.com/users/msecret/gists{/gist_id}","starred_url":"https://api.github.com/users/msecret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msecret/subscriptions","organizations_url":"https://api.github.com/users/msecret/orgs","repos_url":"https://api.github.com/users/msecret/repos","events_url":"https://api.github.com/users/msecret/events{/privacy}","received_events_url":"https://api.github.com/users/msecret/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-13T00:01:49Z","updated_at":"2016-01-13T00:01:49Z","closed_at":null,"body":"I have the following in `.scss-lint.yml`:\r\n\r\n```\r\nfiles:\r\n  include: 'src/**/*.s+(a|c)ss'\r\n  ignore: \r\n    - 'node_modules/**/*'\r\n```\r\n\r\nI'm running scss-lint as an npm script in package.json:\r\n\r\n```\r\n\"lint\": \"scss-lint -c .scss-lint.yml\",\r\n```\r\n\r\nWhen I run `npm run lint` I still get errors from files within node_modules:\r\n\r\n```\r\nnode_modules/uswds/assets/_scss/lib/neat/settings/_visual-grid.scss:1 [W] StringQuotes: Prefer single quoted strings\r\nnode_modules/uswds/assets/_scss/lib/neat/settings/_visual-grid.scss:25 [W] LeadingZero: `0.4` should be written without a leading zero as `.4`\r\nnode_modules/uswds/assets/css/main.scss:7 [E] Syntax Error: Invalid CSS after \"@import 'all'\": expected \"{\", was \";\"\r\nnode_modules/uswds/assets/css/styleguide.scss:6 [E] Syntax Error: Invalid CSS after \"@import 'all'\": expected \"{\", was \";\"\r\n```"}}