diff --git a/new-log-viewer/package-lock.json b/new-log-viewer/package-lock.json index 23e9b5aa..653f7cce 100644 --- a/new-log-viewer/package-lock.json +++ b/new-log-viewer/package-lock.json @@ -42,6 +42,7 @@ "react-refresh": "^0.14.2", "style-loader": "^4.0.0", "stylelint": "^16.9.0", + "stylelint-actions-formatters": "^16.3.1", "stylelint-config-clean-order": "^6.1.0", "stylelint-config-standard": "^36.0.1", "stylelint-prettier": "^5.0.2", @@ -10854,6 +10855,26 @@ "node": ">=18.12.0" } }, + "node_modules/stylelint-actions-formatters": { + "version": "16.3.1", + "resolved": "https://registry.npmjs.org/stylelint-actions-formatters/-/stylelint-actions-formatters-16.3.1.tgz", + "integrity": "sha512-fZjh5YQEAPaRW7rncxufHhc4HQFTDaaeJT8nKuTqzQOX9j7kZEmfDwu92E3e9ThPhrFQbC/z3eGH1QUqA3VlUw==", + "dev": true, + "dependencies": { + "is-plain-object": "^5.0.0", + "picocolors": "^1.0.0", + "string-width": "^4.2.3", + "supports-hyperlinks": "^3.0.0", + "table": "^6.8.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/xt0rted" + }, + "peerDependencies": { + "stylelint": "^16.3.1" + } + }, "node_modules/stylelint-config-clean-order": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/stylelint-config-clean-order/-/stylelint-config-clean-order-6.1.0.tgz", diff --git a/new-log-viewer/package.json b/new-log-viewer/package.json index 2190e073..ec9b385a 100644 --- a/new-log-viewer/package.json +++ b/new-log-viewer/package.json @@ -6,13 +6,11 @@ "scripts": { "build": "webpack --config webpack.prod.js", "start": "webpack serve --open --config webpack.dev.js", - "lint": "npm run lint:check", "lint:check": "npm-run-all --sequential --continue-on-error lint:css-check lint:js-check", "lint:fix": "npm-run-all --sequential --continue-on-error lint:css-fix lint:js-fix", - "lint:css-check": "stylelint src/**/*.css", - "lint:css-ci": "npm run lint:css-check -- --formatter github", + "lint:css-ci": "npm run lint:css-check -- --custom-formatter=stylelint-actions-formatters", "lint:css-fix": "npm run lint:css-check -- --fix", "lint:js-check": "eslint src webpack.*.js --max-warnings 0", "lint:js-fix": "npm run lint:js-check -- --fix" @@ -61,6 +59,7 @@ "react-refresh": "^0.14.2", "style-loader": "^4.0.0", "stylelint": "^16.9.0", + "stylelint-actions-formatters": "^16.3.1", "stylelint-config-clean-order": "^6.1.0", "stylelint-config-standard": "^36.0.1", "stylelint-prettier": "^5.0.2", diff --git a/new-log-viewer/src/index.css b/new-log-viewer/src/index.css index e354c3b9..52949730 100644 --- a/new-log-viewer/src/index.css +++ b/new-log-viewer/src/index.css @@ -17,7 +17,7 @@ html { /* size globals */ --ylv-status-bar-height: 32px; - --ylv-menu-bar-height: 32px; + --ylv-menu-bar-height: 32px; /* z-index globals *