Skip to content

Commit

Permalink
Lint SCSS files with stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Apr 18, 2024
1 parent 9f2552e commit 71da101
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
],
"scripts": {
"lint": "eslint -c .eslintrc.json --ext .js app/packs/src",
"lint-fix": "eslint -c .eslintrc.json --ext .js app/packs/src --fix"
"lint-fix": "eslint -c .eslintrc.json --ext .js app/packs/src --fix",
"stylelint": "stylelint app/packs/stylesheets/**/*.scss",
"stylelint-fix": "stylelint app/packs/stylesheets/**/*.scss --fix"
},
"stylelint": {
"extends": "@decidim/stylelint-config",
"rules": {
"block-opening-brace-space-before": "always"
}
}
}

0 comments on commit 71da101

Please sign in to comment.