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

Commit 9461143

Browse files
committed
fix(stylelint): unknown word on scss file
1 parent ded1454 commit 9461143

File tree

5 files changed

+202
-4
lines changed

5 files changed

+202
-4
lines changed

.stylelintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
customSyntax: "postcss-html",
23
"extends": [
34
"stylelint-config-standard",
45
"stylelint-config-recommended-vue"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"lint": "yarn lint:js && yarn lint:style",
1414
"lint:js": "eslint --ext \".js,.mjs,.vue\" .",
15-
"lint:style": "stylelint \"**/*.{vue,css}\"",
15+
"lint:style": "stylelint \"**/*.{vue,css,scss}\"",
1616
"test": "ava --verbose",
1717
"test:snapshot": "ava --verbose --update-snapshots",
1818
"prepare": "husky install"

packages/cna-template/template/_stylelint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module.exports = {
2+
customSyntax: 'postcss-html',
23
extends: [
34
'stylelint-config-standard',
4-
"stylelint-config-recommended-vue",
5+
'stylelint-config-recommended-vue',
56
<%_ if (prettier) { _%>
67
'stylelint-config-prettier'
78
<%_ } _%>

0 commit comments

Comments
 (0)