Skip to content

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

@nelsyeung

Description

@nelsyeung

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions