Skip to content

Commit

Permalink
chore: lint scss
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Jun 23, 2024
1 parent 3a9301a commit c5ed45d
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .config/stylelint.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"extends": "stylelint-config-standard",
"extends": "stylelint-config-standard-scss",
"rules": {
"length-zero-no-unit": true,
"rule-empty-line-before": ["always-multi-line", { "except": ["first-nested"] }],
"color-function-notation": ["modern", { "ignore": ["with-var-inside"] }]
"color-function-notation": ["modern", { "ignore": ["with-var-inside"] }],
"scss/double-slash-comment-empty-line-before": "never"
},
"ignoreFiles": [
"../node_modules/**/*",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"db:migrate": "drizzle-kit generate --config=.config/drizzle.json",
"lint": "pnpm lint:eslint --fix && pnpm lint:stylelint --fix",
"lint:eslint": "eslint --config .config/eslint.mjs",
"lint:stylelint": "stylelint \"**/*.css\" --config .config/stylelint.json",
"lint:stylelint": "stylelint \"**/*.scss\" --config .config/stylelint.json",
"lint:eslint:inspect": "npx @eslint/config-inspector --config .config/eslint.mjs",
"cf:dev": "npm run build && wrangler pages dev dist",
"docs:dev": "vitepress dev docs",
Expand Down Expand Up @@ -60,7 +60,7 @@
"nuxt-webhook-validators": "^0.0.2",
"sass": "^1.77.6",
"stylelint": "^16.6.1",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"tsx": "^4.15.7",
"typescript": "^5.5.2",
"vitepress": "^1.2.3",
Expand Down
73 changes: 70 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5ed45d

Please sign in to comment.