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

Error: No configuration provided for styles.scss #38

Open
karolsw3 opened this issue Dec 18, 2019 · 1 comment
Open

Error: No configuration provided for styles.scss #38

karolsw3 opened this issue Dec 18, 2019 · 1 comment

Comments

@karolsw3
Copy link

karolsw3 commented Dec 18, 2019

What's wrong?
When I'm running npm run start after setting up the project with wizard, I'm getting this error:

Error: No configuration provided for /Users/username/Documents/GitHub/repo-name/src/stylesheets/styles.scss at module.exports (/Users/username/Documents/GitHub/repo-name/node_modules/stylelint/lib/utils/configurationError.js:8:28) at searchForConfig.then.then.config (/Users/username/Documents/GitHub/repo-name/node_modules/stylelint/lib/getConfigForFile.js:55:15)

To Reproduce
Steps to reproduce the behavior:

  1. Run npm install
  2. Run npm run start
  3. See the error

Expected behavior
Error not showing up.

Screenshots
Screenshot 2019-12-18 at 22 16 23

Desktop:

  • OS: macOS
  • Version 1.1.0

I've tried installing and running it two times already.

@LMulvey
Copy link

LMulvey commented Jan 9, 2020

Looks like you're missing a .stylelintrc.js in your root folder (adjacent to your package.json) with these contents:

module.exports = {
  "extends": "stylelint-config-standard",
  "plugins": ["stylelint-scss"],
  "rules": {
    "at-rule-no-unknown": null,
    "scss/at-rule-no-unknown": true,
    "no-descending-specificity": null
  },
}

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