mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +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
|
||||
run: yarn
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
run: yarn lint:ci
|
||||
- name: Prettier Code
|
||||
run: yarn prettier:diff
|
||||
- name: Prettier Docs
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
"prettier-docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"",
|
||||
"prettier-docs:diff": "prettier --config .prettierrc --list-different \"**/*.{md,mdx}\"",
|
||||
"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:style": "stylelint \"**/*.css\"",
|
||||
"lerna": "lerna",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue