Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stylelint config file with specific rule adjustments #316

Merged
merged 6 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions template/apps/web/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"extends": ["stylelint-config-standard-scss"],
"rules": {
fruneen marked this conversation as resolved.
Show resolved Hide resolved
"scss/no-duplicate-mixins": null,
"declaration-empty-line-before": null,
"declaration-block-no-redundant-longhand-properties": null,
"alpha-value-notation": null,
"custom-property-empty-line-before": null,
"property-no-vendor-prefix": null,
"color-function-notation": null,
"length-zero-no-unit": null,
"selector-not-notation": null,
"no-descending-specificity": null,
"comment-empty-line-before": null,
"scss/at-mixin-pattern": null,
"scss/at-rule-no-unknown": null,
"value-keyword-case": null,
"media-feature-range-notation": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
]
}
}
5 changes: 5 additions & 0 deletions template/apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,17 @@
"prettier-config-custom": "workspace:*",
"storybook": "8.2.0",
"storybook-dark-mode": "4.0.2",
"stylelint": "16.7.0",
"stylelint-config-standard-scss": "13.1.0",
"tsconfig": "workspace:*",
"typescript": "5.2.2"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"*.{css,scss}": [
"stylelint"
fruneen marked this conversation as resolved.
Show resolved Hide resolved
]
}
}
Loading
Loading