aboutsummaryrefslogtreecommitdiffstats
path: root/stylelint.config.js
Commit message (Collapse)AuthorAgeFilesLines
* Enable `declaration-block-no-redundant-longhand-properties` (#30950)silverwind2024-05-121-1/+1
| | | | | | Enable [`declaration-block-no-redundant-longhand-properties`](https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties/) and autofix issues. The exclusions are because I find these two shorthands to be harder to read.
* Forbid deprecated `break-word` in CSS (#30934)silverwind2024-05-101-1/+1
| | | | | | | | | | | | | | | | | | Forbid [deprecated](https://drafts.csswg.org/css-text-3/#word-break-property) `break-word` and fix all occurences. Regarding `overflow-wrap: break-word` vs `overflow-wrap: anywhere`: Example of difference: https://jsfiddle.net/silverwind/1va6972r/ [Here](https://stackoverflow.com/questions/77651244) it says: > The differences between normal, break-word and anywhere are only clear if you are using width: min-content on the element containing the text, and you also set a max-width. A pretty rare scenario. I don't think this difference will make any practical impact as we are not hitting this rare scenario.
* Update JS dependencies (#30713)silverwind2024-04-271-2/+3
| | | | | | | | - Update all JS dependencies - Remove [now-unnecessary](https://github.com/microsoft/monaco-editor/issues/4325) monaco workaround - Update stylelint config for new rule - Tested Monaco, Swagger UI, Mermaid
* Ignore fomantic folder in linters (#30200)silverwind2024-03-311-0/+1
| | | | We are not linting these files but editor integrations will still try to lint, disable that.
* Add `stylelint-value-no-unknown-custom-properties` and convert stylelint ↵silverwind2024-03-291-0/+245
config to js (#30117) Add [`stylelint-value-no-unknown-custom-properties`](https://github.com/csstools/stylelint-value-no-unknown-custom-properties) which lints for undefined CSS variables. No current violations. To make it work properly with editor integrations, I had to convert the config to JS to be able to pass absolute paths to the plugin, but this is a needed change anyways.