Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configFile not loading #34

Open
ediamin opened this issue May 30, 2017 · 1 comment
Open

configFile not loading #34

ediamin opened this issue May 30, 2017 · 1 comment

Comments

@ediamin
Copy link

ediamin commented May 30, 2017

Hi, I'm using v0.2.2. I'm trying to use the yml from Bootstrap but the yml file is not loading when I run grunt sasslint command. I'm using the exact file that you can get in Bootstrap repo except different indentation settings (4 space)

  Indentation:
    enabled: true
    allow_non_nested_indentation: false
    character: space # or 'tab'
    width: 4

My Gruntfile.js

module.exports = function (grunt) {
    'use strict';

    grunt.initConfig({
        sasslint: {
            options: {
                configFile: '.scss-lint.yml',
            },
            target: ['scss/style.scss']
        }
    });

    grunt.loadNpmTasks('grunt-sass-lint');
};

My directory tree

.
├── .scss-lint.yml
├── Gruntfile.js
├── package.json
└── scss
    └── style.scss

If you need to know anything else, please ask. Thank you.

@dpa99c
Copy link

dpa99c commented Jan 9, 2018

It appears that the configFile option gets overwritten with an empty string - see here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants