Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

798 B
Raw Blame

Stylelint

Stylesheets are linted by stylelint using the single config at frontend/stylelint.config.mjs. Run it through Task, not a local npm script:

task frontend:lint:css

The config deliberately carries only no-duplicate-selectors: oxfmt owns formatting and task frontend:lint:colors owns the theme tokens, so stylelint is left with the rules that catch real bugs. ignoreFiles excludes **/dist/**, **/src-tauri/** and the vendored public/css/cookieconsent.css (whose first-party customisation file is still linted).

To lint a single file:

cd frontend
npx stylelint editor/path/to/file.css

For full configuration options and rule customization, refer to the official documentation: https://stylelint.io