{"action":"created","issue":{"url":"https://api.github.com/repos/brigade/scss-lint/issues/601","labels_url":"https://api.github.com/repos/brigade/scss-lint/issues/601/labels{/name}","comments_url":"https://api.github.com/repos/brigade/scss-lint/issues/601/comments","events_url":"https://api.github.com/repos/brigade/scss-lint/issues/601/events","html_url":"https://github.com/brigade/scss-lint/issues/601","id":108218324,"number":601,"title":"Windows path not resolved correctly","user":{"login":"mlarcher","id":1116431,"avatar_url":"https://avatars.githubusercontent.com/u/1116431?v=3","gravatar_id":"","url":"https://api.github.com/users/mlarcher","html_url":"https://github.com/mlarcher","followers_url":"https://api.github.com/users/mlarcher/followers","following_url":"https://api.github.com/users/mlarcher/following{/other_user}","gists_url":"https://api.github.com/users/mlarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/mlarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlarcher/subscriptions","organizations_url":"https://api.github.com/users/mlarcher/orgs","repos_url":"https://api.github.com/users/mlarcher/repos","events_url":"https://api.github.com/users/mlarcher/events{/privacy}","received_events_url":"https://api.github.com/users/mlarcher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/brigade/scss-lint/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-24T21:31:57Z","updated_at":"2015-09-24T22:41:35Z","closed_at":"2015-09-24T22:03:10Z","body":"According to https://github.com/juanfran/gulp-scss-lint/issues/51#issuecomment-142983831 it seems there is an issue in the way command line are handled in scss-lint.\r\nHere is the command line input:\r\n```\r\nscss-lint C:\\UwAmp\\www\\Nouveau_dossier\\Nouveau_dossier\\Nouveau_dossier\\Nouveau_dossier\\project_folder\\src\\styles\\**\\*.scss C:\\UwAmp\\www\\Nouveau_dossier\\Nouveau_dossier\\Nouveau_dossier\\Nouveau_dossier\\project_folder\\src\\project-root\\**\\*.scss --format=JSON\r\n```\r\nand the corresponding output:\r\n```\r\nInvalid argument @ rb_sysopen - C:UwAmpwwwNouveau_dossierNouveau_dossierNouveau_dossierNouveau_dossierproject_foldersrcstyles***.scss\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/engine.rb:239:in `read'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/engine.rb:239:in `for_file'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/engine.rb:47:in `build_from_file'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/engine.rb:21:in `initialize'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:27:in `new'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:27:in `find_lints'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:19:in `block in run'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:18:in `each'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:18:in `run'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/cli.rb:57:in `scan_for_lints'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/cli.rb:50:in `act_on_options'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/cli.rb:27:in `run'\r\nc:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/bin/scss-lint:6:in `<top (required)>'\r\nc:/outils/Ruby22-x64/bin/scss-lint:23:in `load'\r\nc:/outils/Ruby22-x64/bin/scss-lint:23:in `<main>'\r\nReport this bug at https://github.com/brigade/scss-lint/issues\r\n\r\nTo help fix this issue, please include:\r\n- The above stack trace\r\n- SCSS-Lint version: 0.42.0\r\n- Sass version: 3.4.18\r\n- Ruby version: 2.2.1\r\n- Contents of C:/UwAmp/www/Nouveau_dossier/Nouveau_dossier/Nouveau_dossier/Nouveau_dossier/project_folder/.scss-lint.yml\r\n```\r\nThe content of .scss-lint.yml is:\r\n```\r\n# Default application configuration that all configurations inherit from.\r\n\r\nscss_files: \"**/*.scss\"\r\n\r\nlinters:\r\n  BangFormat:\r\n    enabled: true\r\n    space_before_bang: true\r\n    space_after_bang: false\r\n    severity: error\r\n\r\n  BorderZero:\r\n    enabled: true\r\n    convention: zero # or `none`\r\n    severity: error\r\n\r\n  ColorKeyword:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  ColorVariable:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  Comment:\r\n    enabled: false\r\n    severity: warning\r\n\r\n  DebugStatement:\r\n    enabled: true\r\n    severity: error\r\n\r\n  DeclarationOrder:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  DuplicateProperty:\r\n    enabled: true\r\n    severity: error\r\n\r\n  ElsePlacement:\r\n    enabled: true\r\n    style: same_line # or 'new_line'\r\n    severity: error\r\n\r\n  EmptyLineBetweenBlocks:\r\n    enabled: true\r\n    ignore_single_line_blocks: true\r\n    severity: error\r\n\r\n  EmptyRule:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  FinalNewline:\r\n    enabled: true\r\n    present: true\r\n    severity: error\r\n\r\n  HexLength:\r\n    enabled: false\r\n    style: short # or 'long'\r\n    severity: warning\r\n\r\n  HexNotation:\r\n    enabled: true\r\n    style: lowercase # or 'uppercase'\r\n    severity: error\r\n\r\n  HexValidation:\r\n    enabled: true\r\n    severity: error\r\n\r\n  IdSelector:\r\n    enabled: true\r\n    severity: error\r\n\r\n  ImportantRule:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  ImportPath:\r\n    enabled: false\r\n    leading_underscore: true\r\n    filename_extension: false\r\n    severity: warning\r\n\r\n  Indentation:\r\n    enabled: true\r\n    allow_non_nested_indentation: false\r\n    character: space # or 'tab'\r\n    width: 2\r\n    severity: error\r\n\r\n  LeadingZero:\r\n    enabled: true\r\n    style: exclude_zero # or 'include_zero'\r\n    severity: error\r\n\r\n  MergeableSelector:\r\n    enabled: true\r\n    force_nesting: false\r\n    severity: warning\r\n\r\n  NameFormat:\r\n    enabled: false\r\n    allow_leading_underscore: true\r\n    convention: hyphenated_lowercase # or 'BEM', or a regex pattern\r\n    severity: error\r\n\r\n  NestingDepth:\r\n    enabled: true\r\n    max_depth: 3\r\n    severity: error\r\n\r\n  PlaceholderInExtend:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  PropertyCount:\r\n    enabled: false\r\n    include_nested: false\r\n    max_properties: 10\r\n    severity: warning\r\n\r\n  PropertySortOrder:\r\n    enabled: false\r\n    order: concentric\r\n    ignore_unspecified: false\r\n    separate_groups: false\r\n    severity: warning\r\n\r\n  PropertySpelling:\r\n    enabled: true\r\n    extra_properties: []\r\n    severity: error\r\n\r\n  QualifyingElement:\r\n    enabled: true\r\n    allow_element_with_attribute: false\r\n    allow_element_with_class: false\r\n    allow_element_with_id: false\r\n    severity: warning\r\n\r\n  SelectorDepth:\r\n    enabled: true\r\n    max_depth: 3\r\n    severity: error\r\n\r\n  SelectorFormat:\r\n    enabled: true\r\n    convention: ^([a-zA-Z]([a-zA-Z0-9])+(_[a-zA-Z]+)*(--[a-zA-Z])*)|(_(is|has)_([a-zA-Z0-9]){2,})$ #hyphenated_lowercase # or 'BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern\r\n    severity: warning\r\n\r\n  Shorthand:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  SingleLinePerProperty:\r\n    enabled: true\r\n    allow_single_line_rule_sets: true\r\n    severity: warning\r\n\r\n  SingleLinePerSelector:\r\n    enabled: true\r\n    severity: error\r\n\r\n  SpaceAfterComma:\r\n    enabled: true\r\n    severity: error\r\n\r\n  SpaceAfterPropertyColon:\r\n    enabled: true\r\n    style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'\r\n    severity: error\r\n\r\n  SpaceAfterPropertyName:\r\n    enabled: true\r\n    severity: error\r\n\r\n  SpaceBeforeBrace:\r\n    enabled: true\r\n    style: space # or 'new_line'\r\n    allow_single_line_padding: false\r\n    severity: error\r\n\r\n  SpaceBetweenParens:\r\n    enabled: true\r\n    spaces: 0\r\n    severity: error\r\n\r\n  StringQuotes:\r\n    enabled: true\r\n    style: single_quotes # or double_quotes\r\n    severity: warning\r\n\r\n  TrailingSemicolon:\r\n    enabled: true\r\n    severity: error\r\n\r\n  TrailingZero:\r\n    enabled: false\r\n    severity: warning\r\n\r\n  UnnecessaryMantissa:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  UnnecessaryParentReference:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  UrlFormat:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  UrlQuotes:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  VariableForProperty:\r\n    enabled: true\r\n    properties: []\r\n    severity: warning\r\n\r\n  VendorPrefixes:\r\n    enabled: false\r\n    severity: warning\r\n\r\n  VendorPrefix:\r\n    enabled: false\r\n    identifier_list: base\r\n    additional_identifiers: []\r\n    excluded_identifiers: []\r\n    severity: warning\r\n\r\n  ZeroUnit:\r\n    enabled: true\r\n    severity: warning\r\n\r\n  Compass::*:\r\n    enabled: false\r\n    severity: warning\r\n\r\n```\r\nCould you please tell us if this is a bug in the package, a misuse of the CLI, or something wrong in the yaml file, so that we know what needs fixing ?"},"comment":{"url":"https://api.github.com/repos/brigade/scss-lint/issues/comments/143068427","html_url":"https://github.com/brigade/scss-lint/issues/601#issuecomment-143068427","issue_url":"https://api.github.com/repos/brigade/scss-lint/issues/601","id":143068427,"user":{"login":"sds","id":677877,"avatar_url":"https://avatars.githubusercontent.com/u/677877?v=3","gravatar_id":"","url":"https://api.github.com/users/sds","html_url":"https://github.com/sds","followers_url":"https://api.github.com/users/sds/followers","following_url":"https://api.github.com/users/sds/following{/other_user}","gists_url":"https://api.github.com/users/sds/gists{/gist_id}","starred_url":"https://api.github.com/users/sds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sds/subscriptions","organizations_url":"https://api.github.com/users/sds/orgs","repos_url":"https://api.github.com/users/sds/repos","events_url":"https://api.github.com/users/sds/events{/privacy}","received_events_url":"https://api.github.com/users/sds/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T22:41:35Z","updated_at":"2015-09-24T22:41:35Z","body":"As long as all you're trying to do is lint files in a directory, you can just pass the directory. `scss-lint` will scan for any files ending with `.scss` and lint them.\r\n\r\n```bash\r\nscss-lint /path/to/project/dir\r\n```"}}