kungfusheep / SublimeLinter-contrib-stylelint

this repo is no longer maintained - please see https://github.com/SublimeLinter/SublimeLinter-stylelint
MIT License
116 stars 19 forks source link

stylint crashed: no configuration provided for ... #50

Open craigcosmo opened 7 years ago

craigcosmo commented 7 years ago

package.json

"stylelint": "^7.8.0",
"stylelint-scss": "^1.4.1",
"postcss": "^5.2.12"

.stylelintrc

{   
    "plugins": [
        "stylelint-scss"
    ],
    "rules": {
        "no-duplicate-selectors": true,
        "declaration-block-no-duplicate-properties": true
    }
}

error screenshot

screen shot 2017-02-07 at 1 28 13 pm
timkelty commented 6 years ago

Getting the same error, but only when I don't have a .stylelintrc/stylelint.config.js file present.

If i stick on in the current project (or even one in my root home directory), the errors goes away.

Ideally it would NOT lint at all if no stylelint config could be found.