Skip to content

Commit

Permalink
Prettier: ignore block-meta.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarnutsch committed Jan 15, 2024
1 parent 2e6d78f commit 85de1c1
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions api/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,49 @@
# compiled output
/dist
/node_modules
.env
.env.local
.env.secrets

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# OS
.DS_Store

# Tests
/coverage
/.nyc_output
junit.xml

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# Uploads
/uploads

package-lock.json
.gitignore
*.lock
*.gql
*.dist
uploads/
block-meta.json
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"fixtures:prod": "npm run console:prod fixtures --",
"lint": "run-p lint:eslint lint:tsc lint:prettier",
"lint:ci": "npm run lint && npm run lint:generated-files-not-modified",
"lint:prettier": "npx prettier --check './**/*.{js,json,md,yml,yaml}' --ignore-path .gitignore",
"lint:prettier": "npx prettier --check './**/*.{js,json,md,yml,yaml}'",
"lint:eslint": "eslint --ext .ts,.tsx,.js,.jsx,.json,.md --max-warnings 0 src/ package.json",
"lint:generated-files-not-modified": "npm run api-generator && git diff --exit-code HEAD --",
"lint:tsc": "tsc --project ./tsconfig.lint.json",
Expand Down

0 comments on commit 85de1c1

Please sign in to comment.