Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit

Permalink
fix(stylelint): unknown word on scss file
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Dec 12, 2021
1 parent ded1454 commit 9461143
Show file tree
Hide file tree
Showing 5 changed files with 202 additions and 4 deletions.
1 change: 1 addition & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
customSyntax: "postcss-html",
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-vue"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"lint": "yarn lint:js && yarn lint:style",
"lint:js": "eslint --ext \".js,.mjs,.vue\" .",
"lint:style": "stylelint \"**/*.{vue,css}\"",
"lint:style": "stylelint \"**/*.{vue,css,scss}\"",
"test": "ava --verbose",
"test:snapshot": "ava --verbose --update-snapshots",
"prepare": "husky install"
Expand Down
3 changes: 2 additions & 1 deletion packages/cna-template/template/_stylelint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module.exports = {
customSyntax: 'postcss-html',
extends: [
'stylelint-config-standard',
"stylelint-config-recommended-vue",
'stylelint-config-recommended-vue',
<%_ if (prettier) { _%>
'stylelint-config-prettier'
<%_ } _%>
Expand Down
Loading

0 comments on commit 9461143

Please sign in to comment.