* fix: warnings about Duplicate message id * fix: paragon's Hyperlink no longer accepts a 'content' attribute * test: ensure all act() calls are async * test: Removed "async" from "describe" * fix: DiscussionsSettings tests * Don't nest userAction.click in act() -- nested act() statements have indeterminent behaviour. * Use getBy* instead of findBy* with userAction to avoid nested act() statements * Always await userEvent.click * Use fireEvent.click when the onClick handlers need to be called * Use queryBy* instead of getBy* when using .toBeInTheDocument or * fix: typo in data-testid * test: Use useLocation to test route changes * Don't nest userAction.click in act() -- nested act() statements have * chore: fix lint:fix and lint errors * remove "indent" setting from .eslintrc.js * add @typescript-eslint/ prefix to eslint-disable-line statements where flagged by linter * changed stylelint setting import-notation to "string" * test: fix failing tests after upgrade * fix: css error "target selector was not found" * chore: upgrades dependency frontend-lib-content-components@2.3.0 * chore: bumps @edx/frontend-component-ai-translations to ^2.1.0 --------- Co-authored-by: Yusuf Musleh <yusuf@opencraft.com>
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"extends": ["@edx/stylelint-config-edx"],
|
|
"rules": {
|
|
"selector-pseudo-class-no-unknown": [true, {
|
|
"ignorePseudoClasses": ["export"]
|
|
}],
|
|
"unit-no-unknown": [true, {
|
|
"ignoreUnits": ["\\.5"]
|
|
}],
|
|
"property-no-vendor-prefix": [true, {
|
|
"ignoreProperties": ["animation", "filter", "transform", "transition"]
|
|
}],
|
|
"value-no-vendor-prefix": [true, {
|
|
"ignoreValues": ["fill-available"]
|
|
}],
|
|
"function-no-unknown": null,
|
|
"number-leading-zero": "never",
|
|
"no-descending-specificity": null,
|
|
"selector-class-pattern": null,
|
|
"scss/no-global-function-names": null,
|
|
"color-hex-case": "upper",
|
|
"color-hex-length": "long",
|
|
"scss/dollar-variable-empty-line-before": null,
|
|
"scss/dollar-variable-colon-space-after": "at-least-one-space",
|
|
"at-rule-no-unknown": null,
|
|
"scss/at-rule-no-unknown": true,
|
|
"scss/at-import-partial-extension": null,
|
|
"scss/comment-no-empty": null,
|
|
"import-notation": "string",
|
|
"property-no-unknown": [true, {
|
|
"ignoreProperties": ["xs", "sm", "md", "lg", "xl", "xxl"]
|
|
}],
|
|
"alpha-value-notation": "number"
|
|
}
|
|
}
|