Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: website check targets #2996

Merged
merged 3 commits into from Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions website/.eslintignore
@@ -0,0 +1,2 @@
/build
*.config.js
3 changes: 3 additions & 0 deletions website/.gitignore
Expand Up @@ -8,6 +8,9 @@
.docusaurus
.cache-loader

# Cache
.eslintcache

# Misc
.DS_Store
.env.local
Expand Down
2 changes: 2 additions & 0 deletions website/.prettierignore
@@ -0,0 +1,2 @@
.docusaurus
/build/
11 changes: 7 additions & 4 deletions website/package.json
Expand Up @@ -13,10 +13,13 @@
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc",
"format:check": "prettier --check 'src/**/*.{css,ts,tsx}'",
"format:fix": "prettier --write 'src/**/*.{css,ts,tsx}'",
"lint:check": "eslint . --ext js,ts,tsx",
"lint:fix": "eslint . --fix --ext js,ts,tsx"
"format:check": "prettier --cache --check '**/*.{md,js}' 'src/**/*.{css,ts,tsx}'",
"format:fix": "prettier --cache --write '**/*.{md,js}' 'src/**/*.{css,ts,tsx}'",
"markdownlint:check": "markdownlint-cli2 --config ../.markdownlint.yaml \"**/*.md\" \"#node_modules\"",
"markdownlint:fix": "markdownlint-cli2-fix --config ../.markdownlint.yaml \"**/*.md\" \"#node_modules\"",
"lint:check": "cd .. && eslint --cache --cache-location website/.eslintcache website --ext js,ts,tsx",
"lint:fix": "cd .. && eslint --cache --cache-location website/.eslintcache website --fix --ext js,ts,tsx",
"lint:clean": "rimraf .eslintcache"
},
"dependencies": {
"@docusaurus/core": "2.4.1",
Expand Down