mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 12:55:56 +01:00
Replace deprecated "github" format for stylelint on CI runs (#33292)
This commit is contained in:
parent
efc85e39a0
commit
a8edc82471
3 changed files with 74 additions and 60 deletions
2
.github/workflows/lint-css.yml
vendored
2
.github/workflows/lint-css.yml
vendored
|
@ -40,4 +40,4 @@ jobs:
|
||||||
uses: ./.github/actions/setup-javascript
|
uses: ./.github/actions/setup-javascript
|
||||||
|
|
||||||
- name: Stylelint
|
- name: Stylelint
|
||||||
run: yarn lint:css -f github
|
run: yarn lint:css --custom-formatter @csstools/stylelint-formatter-github
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
"@babel/preset-react": "^7.22.3",
|
"@babel/preset-react": "^7.22.3",
|
||||||
"@babel/preset-typescript": "^7.21.5",
|
"@babel/preset-typescript": "^7.21.5",
|
||||||
"@babel/runtime": "^7.22.3",
|
"@babel/runtime": "^7.22.3",
|
||||||
|
"@csstools/stylelint-formatter-github": "^1.0.0",
|
||||||
"@dnd-kit/core": "^6.1.0",
|
"@dnd-kit/core": "^6.1.0",
|
||||||
"@dnd-kit/sortable": "^10.0.0",
|
"@dnd-kit/sortable": "^10.0.0",
|
||||||
"@dnd-kit/utilities": "^3.2.2",
|
"@dnd-kit/utilities": "^3.2.2",
|
||||||
|
@ -190,9 +191,9 @@
|
||||||
"lint-staged": "^15.0.0",
|
"lint-staged": "^15.0.0",
|
||||||
"prettier": "^3.3.3",
|
"prettier": "^3.3.3",
|
||||||
"react-test-renderer": "^18.2.0",
|
"react-test-renderer": "^18.2.0",
|
||||||
"stylelint": "^16.0.2",
|
"stylelint": "^16.11.0",
|
||||||
"stylelint-config-prettier-scss": "^1.0.0",
|
"stylelint-config-prettier-scss": "^1.0.0",
|
||||||
"stylelint-config-standard-scss": "^13.0.0",
|
"stylelint-config-standard-scss": "^14.0.0",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.0.4",
|
||||||
"webpack-dev-server": "^3.11.3"
|
"webpack-dev-server": "^3.11.3"
|
||||||
},
|
},
|
||||||
|
|
127
yarn.lock
127
yarn.lock
|
@ -1944,6 +1944,15 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@csstools/stylelint-formatter-github@npm:^1.0.0":
|
||||||
|
version: 1.0.0
|
||||||
|
resolution: "@csstools/stylelint-formatter-github@npm:1.0.0"
|
||||||
|
peerDependencies:
|
||||||
|
stylelint: ^16.6.0
|
||||||
|
checksum: 10c0/2052c4e4d89656b2b4176a6d07508ef73278d33c24a7408a3555d07f26ec853f85da95525590c51751fb3150a2ebb5e3083d8200dc6597af2cd8e93198695269
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@csstools/utilities@npm:^2.0.0":
|
"@csstools/utilities@npm:^2.0.0":
|
||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
resolution: "@csstools/utilities@npm:2.0.0"
|
resolution: "@csstools/utilities@npm:2.0.0"
|
||||||
|
@ -2823,6 +2832,7 @@ __metadata:
|
||||||
"@babel/preset-react": "npm:^7.22.3"
|
"@babel/preset-react": "npm:^7.22.3"
|
||||||
"@babel/preset-typescript": "npm:^7.21.5"
|
"@babel/preset-typescript": "npm:^7.21.5"
|
||||||
"@babel/runtime": "npm:^7.22.3"
|
"@babel/runtime": "npm:^7.22.3"
|
||||||
|
"@csstools/stylelint-formatter-github": "npm:^1.0.0"
|
||||||
"@dnd-kit/core": "npm:^6.1.0"
|
"@dnd-kit/core": "npm:^6.1.0"
|
||||||
"@dnd-kit/sortable": "npm:^10.0.0"
|
"@dnd-kit/sortable": "npm:^10.0.0"
|
||||||
"@dnd-kit/utilities": "npm:^3.2.2"
|
"@dnd-kit/utilities": "npm:^3.2.2"
|
||||||
|
@ -2951,9 +2961,9 @@ __metadata:
|
||||||
sass-loader: "npm:^10.2.0"
|
sass-loader: "npm:^10.2.0"
|
||||||
stacktrace-js: "npm:^2.0.2"
|
stacktrace-js: "npm:^2.0.2"
|
||||||
stringz: "npm:^2.1.0"
|
stringz: "npm:^2.1.0"
|
||||||
stylelint: "npm:^16.0.2"
|
stylelint: "npm:^16.11.0"
|
||||||
stylelint-config-prettier-scss: "npm:^1.0.0"
|
stylelint-config-prettier-scss: "npm:^1.0.0"
|
||||||
stylelint-config-standard-scss: "npm:^13.0.0"
|
stylelint-config-standard-scss: "npm:^14.0.0"
|
||||||
substring-trie: "npm:^1.0.2"
|
substring-trie: "npm:^1.0.2"
|
||||||
terser-webpack-plugin: "npm:^4.2.3"
|
terser-webpack-plugin: "npm:^4.2.3"
|
||||||
tesseract.js: "npm:^2.1.5"
|
tesseract.js: "npm:^2.1.5"
|
||||||
|
@ -11449,13 +11459,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"known-css-properties@npm:^0.29.0":
|
|
||||||
version: 0.29.0
|
|
||||||
resolution: "known-css-properties@npm:0.29.0"
|
|
||||||
checksum: 10c0/f66e9992097b8f54e97dbe729943d4a11b8d3ba15f68dbb3deb8bb0122cb89c22c90c9221ecb1e3f2e236838fe3c0faae319b43908c81b6e254ac43cafde2906
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"known-css-properties@npm:^0.35.0":
|
"known-css-properties@npm:^0.35.0":
|
||||||
version: 0.35.0
|
version: 0.35.0
|
||||||
resolution: "known-css-properties@npm:0.35.0"
|
resolution: "known-css-properties@npm:0.35.0"
|
||||||
|
@ -11920,6 +11923,13 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"mdn-data@npm:^2.12.2":
|
||||||
|
version: 2.13.0
|
||||||
|
resolution: "mdn-data@npm:2.13.0"
|
||||||
|
checksum: 10c0/7f4cbba78ded58d63e28b7be68dc93a97cc4859d474b08e4570a9adb6cc57106c6b860a749b465a39be18eb8b010ad3b042b5d4d475f78fe1b3ea6156926bfa0
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"media-typer@npm:0.3.0":
|
"media-typer@npm:0.3.0":
|
||||||
version: 0.3.0
|
version: 0.3.0
|
||||||
resolution: "media-typer@npm:0.3.0"
|
resolution: "media-typer@npm:0.3.0"
|
||||||
|
@ -14115,7 +14125,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"postcss-resolve-nested-selector@npm:^0.1.1, postcss-resolve-nested-selector@npm:^0.1.6":
|
"postcss-resolve-nested-selector@npm:^0.1.6":
|
||||||
version: 0.1.6
|
version: 0.1.6
|
||||||
resolution: "postcss-resolve-nested-selector@npm:0.1.6"
|
resolution: "postcss-resolve-nested-selector@npm:0.1.6"
|
||||||
checksum: 10c0/84213a2bccce481b1569c595a3c547b25c6ef1cca839fbd6c82c12ab407559966e968613c7454b573aa54f38cfd7e900c1fd603f0efc9f51939ab9f93f115455
|
checksum: 10c0/84213a2bccce481b1569c595a3c547b25c6ef1cca839fbd6c82c12ab407559966e968613c7454b573aa54f38cfd7e900c1fd603f0efc9f51939ab9f93f115455
|
||||||
|
@ -14151,7 +14161,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"postcss-selector-parser@npm:^6.0.13, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.1.2":
|
"postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.1.2":
|
||||||
version: 6.1.2
|
version: 6.1.2
|
||||||
resolution: "postcss-selector-parser@npm:6.1.2"
|
resolution: "postcss-selector-parser@npm:6.1.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -16726,75 +16736,78 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"stylelint-config-recommended-scss@npm:^14.0.0":
|
"stylelint-config-recommended-scss@npm:^14.1.0":
|
||||||
version: 14.0.0
|
version: 14.1.0
|
||||||
resolution: "stylelint-config-recommended-scss@npm:14.0.0"
|
resolution: "stylelint-config-recommended-scss@npm:14.1.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
postcss-scss: "npm:^4.0.9"
|
postcss-scss: "npm:^4.0.9"
|
||||||
stylelint-config-recommended: "npm:^14.0.0"
|
stylelint-config-recommended: "npm:^14.0.1"
|
||||||
stylelint-scss: "npm:^6.0.0"
|
stylelint-scss: "npm:^6.4.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
postcss: ^8.3.3
|
postcss: ^8.3.3
|
||||||
stylelint: ^16.0.2
|
stylelint: ^16.6.1
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
postcss:
|
postcss:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 10c0/9ddc92e7a5fa131b41cee1ab1f69251934ca35c0e2803dc613329cdead7b8b27d8457048a63db29f61a1442e7cdef14207f88a3abce00ec53fdefe0d604f7de3
|
checksum: 10c0/0a1c1bb6d9f7a21acea82e12fee1b36a195181ae1dd0d8b59145a56f76232a80d5b706269bc4ca4929680d36f10371bd8a7d0aeeee468fa9119a3b56410b052f
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"stylelint-config-recommended@npm:^14.0.0":
|
"stylelint-config-recommended@npm:^14.0.1":
|
||||||
version: 14.0.0
|
version: 14.0.1
|
||||||
resolution: "stylelint-config-recommended@npm:14.0.0"
|
resolution: "stylelint-config-recommended@npm:14.0.1"
|
||||||
peerDependencies:
|
|
||||||
stylelint: ^16.0.0
|
|
||||||
checksum: 10c0/4ad15c36e8c03291aa7bbe4b672ebfb0f46ab698e7580a0da8d29644046d102d7f31dbf00a2a6eab94b565c390c6fb0d5d528737b83ac3acf6dc2ef085a90b11
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"stylelint-config-standard-scss@npm:^13.0.0":
|
|
||||||
version: 13.1.0
|
|
||||||
resolution: "stylelint-config-standard-scss@npm:13.1.0"
|
|
||||||
dependencies:
|
|
||||||
stylelint-config-recommended-scss: "npm:^14.0.0"
|
|
||||||
stylelint-config-standard: "npm:^36.0.0"
|
|
||||||
peerDependencies:
|
|
||||||
postcss: ^8.3.3
|
|
||||||
stylelint: ^16.3.1
|
|
||||||
peerDependenciesMeta:
|
|
||||||
postcss:
|
|
||||||
optional: true
|
|
||||||
checksum: 10c0/d07cae806ee8b3e77684f019a8b22cc32642373da8053e6ae7ed716f8ddbe6ea1f7323633a6a1bbc9aa08c6a3dceb1dcf053d83fdd10d076b5a01da6e86801ae
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"stylelint-config-standard@npm:^36.0.0":
|
|
||||||
version: 36.0.0
|
|
||||||
resolution: "stylelint-config-standard@npm:36.0.0"
|
|
||||||
dependencies:
|
|
||||||
stylelint-config-recommended: "npm:^14.0.0"
|
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
stylelint: ^16.1.0
|
stylelint: ^16.1.0
|
||||||
checksum: 10c0/1fc9adddfc5cf0a1d7a443182a0731712a3950ace72a24081b4ede2b0bb6fc1eebd003c009f1d8d06c3a64ba9b31b0ed12512db2f91c8fa549238d8341580e4b
|
checksum: 10c0/a0a0ecd91f4d193bbe2cc3408228f8a2d8fcb2b2578d77233f86780c9247c796a04e16aad7a91d97cb918e2de34b6a8062bab66ee017c3835d855081d94f4828
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"stylelint-scss@npm:^6.0.0":
|
"stylelint-config-standard-scss@npm:^14.0.0":
|
||||||
version: 6.0.0
|
version: 14.0.0
|
||||||
resolution: "stylelint-scss@npm:6.0.0"
|
resolution: "stylelint-config-standard-scss@npm:14.0.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
known-css-properties: "npm:^0.29.0"
|
stylelint-config-recommended-scss: "npm:^14.1.0"
|
||||||
|
stylelint-config-standard: "npm:^36.0.1"
|
||||||
|
peerDependencies:
|
||||||
|
postcss: ^8.3.3
|
||||||
|
stylelint: ^16.11.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
postcss:
|
||||||
|
optional: true
|
||||||
|
checksum: 10c0/b885f02d955060a8e0214fd8dc30bfc6d84cbdeb870d34ce0761b258914857bd22d537ac1c8ee9755bf4cd5b1f3b94f4ad0270c2ff4362df7d5eb8d95b35db5e
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"stylelint-config-standard@npm:^36.0.1":
|
||||||
|
version: 36.0.1
|
||||||
|
resolution: "stylelint-config-standard@npm:36.0.1"
|
||||||
|
dependencies:
|
||||||
|
stylelint-config-recommended: "npm:^14.0.1"
|
||||||
|
peerDependencies:
|
||||||
|
stylelint: ^16.1.0
|
||||||
|
checksum: 10c0/7f9b954694358e77be5110418f31335be579ce59dd952bc3c6a9449265297db3170ec520e0905769253b48b99c3109a95c71f5b985bf402e48fd6c89b5364cb2
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"stylelint-scss@npm:^6.4.0":
|
||||||
|
version: 6.10.0
|
||||||
|
resolution: "stylelint-scss@npm:6.10.0"
|
||||||
|
dependencies:
|
||||||
|
css-tree: "npm:^3.0.1"
|
||||||
|
is-plain-object: "npm:^5.0.0"
|
||||||
|
known-css-properties: "npm:^0.35.0"
|
||||||
|
mdn-data: "npm:^2.12.2"
|
||||||
postcss-media-query-parser: "npm:^0.2.3"
|
postcss-media-query-parser: "npm:^0.2.3"
|
||||||
postcss-resolve-nested-selector: "npm:^0.1.1"
|
postcss-resolve-nested-selector: "npm:^0.1.6"
|
||||||
postcss-selector-parser: "npm:^6.0.13"
|
postcss-selector-parser: "npm:^7.0.0"
|
||||||
postcss-value-parser: "npm:^4.2.0"
|
postcss-value-parser: "npm:^4.2.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
stylelint: ^16.0.2
|
stylelint: ^16.0.2
|
||||||
checksum: 10c0/f5e971d19ef6879ae5c18cb8fba8033fe7928f241178e6afd80357cc080d2feddfd6f7fe564aaa696008aa10345df5885d9a4471c926b3e266088e015927782e
|
checksum: 10c0/9086109bc36b46ea5e62aef5c1793debbd973aaecb28ba65cadaaf6761a295db1e52f94e1a6bae7ee884e440fc36463e9686941fc652a5ce79045ee58cae5308
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"stylelint@npm:^16.0.2":
|
"stylelint@npm:^16.11.0":
|
||||||
version: 16.11.0
|
version: 16.11.0
|
||||||
resolution: "stylelint@npm:16.11.0"
|
resolution: "stylelint@npm:16.11.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue