THE BEST NEWSLETTER ANYWHERE
Join 6,000 subscribers and get a daily digest of full stack tutorials delivered to your inbox directly.No spam ever. Unsubscribe any time.
Running lint on the node project that scss gives an error as given Error: No configuration provided for scss.
[email protected] lint:styles stylelint “assets/scss/**/*.{css,sass,scss,sss,less}”
Error: No configuration provided for B:\myproject\assets\scss\styles.scss
The issue is not finding config for scss lint of a project.
Project needs .eslintrc.json configuration file
Please follow below steps
stylelint-config-standard
npm library as devDependencynpm install stylelint-config-standard --save-dev
.stylelintrc.json
configuration file in root of a project..stylelintrc.json is a style configuration rules for stylelint tool
{
"extends": "stylelint-config-standard",
"rules": {
"no-empty-source": null,
"string-quotes": "single",
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"extend",
"at-root",
"debug",
"warn",
"error",
"if",
"else",
"for",
"each",
"while",
"mixin",
"include",
"content",
"return",
"function",
"tailwind",
"apply",
"responsive",
"variants",
"screen"
]
}
]
}
}
🧮 Tags
Recent posts
Puppeteer Login Test example How to convert Double to Integer or Integer to double in Dart| Flutter By Example Best ways to fix 504 gateway time out in nodejs Applications Fix for Error No configuration provided for scss Multiple ways to List containers in a Docker with examplesRelated posts