-
Notifications
You must be signed in to change notification settings - Fork 22
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
prisma lint #263
prisma lint #263
Conversation
WalkthroughThis pull request introduces comprehensive documentation for the Prisma Lint tool by adding a new file that details its configuration, usage, and examples. Additionally, the tools overview documentation has been updated to include an entry for Prisma, linking to the Prisma Lint guide. The changes focus solely on documentation enhancements with no modifications to runtime functionality. Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Deploying coderabbit-docs with
|
Latest commit: |
cf0e65a
|
Status: | ✅ Deploy successful! |
Preview URL: | https://14a96cc0.coderabbit-docs.pages.dev |
Branch Preview URL: | https://prisma-lint.coderabbit-docs.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
docs/tools/prisma-lint.md (1)
38-62
: JSON Configuration Example – Replace Hard Tabs with Spaces
The JSON configuration sample is well structured; however, the static analysis hints indicate the use of hard tabs (MD010 errors) between lines 40 and 60. Please replace any hard tabs with spaces for better markdown compliance. For example:- "rules": { + "rules": {This change should be applied uniformly throughout the JSON block.
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
40-40: Hard tabs
Column: 1(MD010, no-hard-tabs)
41-41: Hard tabs
Column: 1(MD010, no-hard-tabs)
42-42: Hard tabs
Column: 1(MD010, no-hard-tabs)
43-43: Hard tabs
Column: 1(MD010, no-hard-tabs)
44-44: Hard tabs
Column: 1(MD010, no-hard-tabs)
45-45: Hard tabs
Column: 1(MD010, no-hard-tabs)
46-46: Hard tabs
Column: 1(MD010, no-hard-tabs)
47-47: Hard tabs
Column: 1(MD010, no-hard-tabs)
48-48: Hard tabs
Column: 1(MD010, no-hard-tabs)
49-49: Hard tabs
Column: 1(MD010, no-hard-tabs)
50-50: Hard tabs
Column: 1(MD010, no-hard-tabs)
51-51: Hard tabs
Column: 1(MD010, no-hard-tabs)
52-52: Hard tabs
Column: 1(MD010, no-hard-tabs)
53-53: Hard tabs
Column: 1(MD010, no-hard-tabs)
54-54: Hard tabs
Column: 1(MD010, no-hard-tabs)
55-55: Hard tabs
Column: 1(MD010, no-hard-tabs)
56-56: Hard tabs
Column: 1(MD010, no-hard-tabs)
57-57: Hard tabs
Column: 1(MD010, no-hard-tabs)
58-58: Hard tabs
Column: 1(MD010, no-hard-tabs)
59-59: Hard tabs
Column: 1(MD010, no-hard-tabs)
60-60: Hard tabs
Column: 1(MD010, no-hard-tabs)
🪛 GitHub Actions: Node.js CI
[error] 40-60: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 41-41: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 42-42: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 43-43: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 44-44: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 45-45: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 46-46: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 47-47: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 48-48: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 49-49: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 50-50: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 51-51: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 52-52: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 53-53: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 54-54: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 55-55: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 56-56: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 57-57: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 58-58: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 59-59: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 60-60: MD010/no-hard-tabs Hard tabs [Column: 1]
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
docs/tools/prisma-lint.md
(1 hunks)docs/tools/tools.md
(2 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
docs/tools/prisma-lint.md
40-40: Hard tabs
Column: 1
(MD010, no-hard-tabs)
41-41: Hard tabs
Column: 1
(MD010, no-hard-tabs)
42-42: Hard tabs
Column: 1
(MD010, no-hard-tabs)
43-43: Hard tabs
Column: 1
(MD010, no-hard-tabs)
44-44: Hard tabs
Column: 1
(MD010, no-hard-tabs)
45-45: Hard tabs
Column: 1
(MD010, no-hard-tabs)
46-46: Hard tabs
Column: 1
(MD010, no-hard-tabs)
47-47: Hard tabs
Column: 1
(MD010, no-hard-tabs)
48-48: Hard tabs
Column: 1
(MD010, no-hard-tabs)
49-49: Hard tabs
Column: 1
(MD010, no-hard-tabs)
50-50: Hard tabs
Column: 1
(MD010, no-hard-tabs)
51-51: Hard tabs
Column: 1
(MD010, no-hard-tabs)
52-52: Hard tabs
Column: 1
(MD010, no-hard-tabs)
53-53: Hard tabs
Column: 1
(MD010, no-hard-tabs)
54-54: Hard tabs
Column: 1
(MD010, no-hard-tabs)
55-55: Hard tabs
Column: 1
(MD010, no-hard-tabs)
56-56: Hard tabs
Column: 1
(MD010, no-hard-tabs)
57-57: Hard tabs
Column: 1
(MD010, no-hard-tabs)
58-58: Hard tabs
Column: 1
(MD010, no-hard-tabs)
59-59: Hard tabs
Column: 1
(MD010, no-hard-tabs)
60-60: Hard tabs
Column: 1
(MD010, no-hard-tabs)
🪛 GitHub Actions: Node.js CI
docs/tools/prisma-lint.md
[error] 40-60: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 41-41: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 42-42: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 43-43: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 44-44: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 45-45: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 46-46: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 47-47: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 48-48: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 49-49: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 50-50: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 51-51: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 52-52: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 53-53: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 54-54: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 55-55: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 56-56: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 57-57: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 58-58: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 59-59: MD010/no-hard-tabs Hard tabs [Column: 1]
[error] 60-60: MD010/no-hard-tabs Hard tabs [Column: 1]
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Cloudflare Pages
🔇 Additional comments (6)
docs/tools/tools.md (2)
79-79
: New Prisma Entry Added to Tools Table
The new row for Prisma is correctly formatted and consistent with the other entries in the table. The entry clearly lists the tool as "Prisma Lint" with an appropriate category.
104-105
: Reference Link for Prisma Lint Documentation
The reference[PrismaLint]: ./prisma-lint.md
is properly added at the end of the file, ensuring that the new entry in the table is correctly linked.docs/tools/prisma-lint.md (4)
1-6
: Metadata Block for Prisma Lint Documentation
The front matter with the title, sidebar label, and description is clear and descriptive. It sets the right expectations for this guide.
7-12
: MDX Code Block Inclusion
The usage of the MDX code block to import and render the ProPlan notice is correctly implemented and follows the repository conventions.
68-78
: Prisma Model Ignoring Rules Code Block
The example demonstrating how to ignore rules using triple-slash comments is clear and provides useful context. It follows documentation best practices.
80-84
: Helpful Links Section
The links provided at the end, which direct users to the Prisma Lint GitHub repository and its rules documentation, are accurate and add value to the guide.
No description provided.