mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
chore: fix GH actions lint problem matchers issue in PR (#4471)
This commit is contained in:
parent
dd5e5098b8
commit
acc92461b0
2 changed files with 2 additions and 1 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
- name: Installation
|
- name: Installation
|
||||||
run: yarn
|
run: yarn
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: yarn lint
|
run: yarn lint:ci
|
||||||
- name: Prettier Code
|
- name: Prettier Code
|
||||||
run: yarn prettier:diff
|
run: yarn prettier:diff
|
||||||
- name: Prettier Docs
|
- name: Prettier Docs
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
"prettier-docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"",
|
"prettier-docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"",
|
||||||
"prettier-docs:diff": "prettier --config .prettierrc --list-different \"**/*.{md,mdx}\"",
|
"prettier-docs:diff": "prettier --config .prettierrc --list-different \"**/*.{md,mdx}\"",
|
||||||
"lint": "yarn lint:js && yarn lint:style",
|
"lint": "yarn lint:js && yarn lint:style",
|
||||||
|
"lint:ci": "yarn lint:js --quiet && yarn lint:style",
|
||||||
"lint:js": "eslint --cache \"**/*.{js,jsx,ts,tsx}\"",
|
"lint:js": "eslint --cache \"**/*.{js,jsx,ts,tsx}\"",
|
||||||
"lint:style": "stylelint \"**/*.css\"",
|
"lint:style": "stylelint \"**/*.css\"",
|
||||||
"lerna": "lerna",
|
"lerna": "lerna",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue