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

No stylelintrc file error when using the package file stylelint property #67

Closed
nelsyeung opened this issue Feb 9, 2017 · 5 comments
Closed

Comments

@nelsyeung
Copy link

I'm getting this error

Error: ENOENT: no such file or directory, open '/Users/nelsyeung/Sites/es6-web-template/.stylelintrc'

even though I have the following in my package.json

"stylelint": {
  "extends": "stylelint-config-standard"
},

Replication details:

git clone https://github.com/nelsyeung/es6-web-template.git
cd es6-web-template
git checkout dev
npm i
npm start

Notes
OS: macOS Sierra
Webpack: 2.2.1
stylelint-webpack-plugin: 0.5.1

Stylelint (the cli tool) runs fine with settings inside package.json, which you can also play around with inside my repository above.

@JaKXz
Copy link
Contributor

JaKXz commented Feb 12, 2017

+ stylelint-webpack-plugin@0.6.0 was just published, please [remove the configFile option if you have it &] give it a shot :)

@karlhorky
Copy link
Contributor

Works for me in the demo repo provided above, thanks @JaKXz!

@JaKXz
Copy link
Contributor

JaKXz commented Feb 12, 2017

Thanks for the ping @karlhorky! I should have released a patch version right away but v0.6.0 is also good 😄

@nelsyeung
Copy link
Author

v0.6.0 looks good. 👍 Thanks!

@karlhorky
Copy link
Contributor

No problem, glad to help!

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

3 participants