mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-03 05:10:16 +03:00
Adjust stylelint scripts to lint frontend/editor CSS and app resource paths; extend ignore list to include frontend/dist and cookieconsent files. Tighten/relax several rules (allow tailwind at-rule, ignore pseudo-class `global`, permit `user-drag`, exempt some deprecated keywords/properties and precision checks). Bump stylelint and @stylistic/stylelint-plugin versions in devTools/package.json and regenerate package-lock with multiple dependency upgrades. Small docs update to devGuide/STYLELINT.md to reflect new CLI globs.
14 lines
515 B
JSON
14 lines
515 B
JSON
{
|
|
"name": "stirling-pdf",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"lint:css:check": "stylelint \"../app/**/src/main/resources/static/css/*.css\" \"../frontend/editor/src/**/*.css\" --config .stylelintrc.json",
|
|
"lint:css:fix": "stylelint \"../app/**/src/main/resources/static/css/*.css\" \"../frontend/editor/src/**/*.css\" --config .stylelintrc.json --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@stylistic/stylelint-plugin": "^5.2.1",
|
|
"stylelint": "^17.14.1",
|
|
"stylelint-config-standard": "^40.0.0"
|
|
}
|
|
}
|