| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:22c8201b-e736-e9d8-0426-fa3a2bb9c1db |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ED24:1F82C3:E36D8:12D718:6A52DE36 |
| html-safe-nonce | 94ead93dfd5c4e2ea45e91e5c0e5d49a5ff1fda35be8bee2c62494c600fb5d18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDI0OjFGODJDMzpFMzZEODoxMkQ3MTg6NkE1MkRFMzYiLCJ2aXNpdG9yX2lkIjoiMjM4MjY0MzA5OTMzMzc0NjIzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ceb8f5d8d30ee1175445fb03ccced50a5241282d2677b474d1c7ee0f5ef0a8db |
| hovercard-subject-tag | pull_request:2570507149 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/solid-software/solid_lints/212/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a4d98c99b3b3dd8283c3ff33fe9a61f81c9a7a329be7b0eebff8d02e5ae1abb3/solid-software/solid_lints/pull/212 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4d98c99b3b3dd8283c3ff33fe9a61f81c9a7a329be7b0eebff8d02e5ae1abb3/solid-software/solid_lints/pull/212 |
| og:image:alt | Resolves #126
Rule avoid_using_api:
Lint only default constructor by using () identifier
Lint usage of specific named parameter |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xJac0b |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/solid-software/solid_lints git https://github.com/solid-software/solid_lints.git |
| octolytics-dimension-user_id | 40825054 |
| octolytics-dimension-user_login | solid-software |
| octolytics-dimension-repository_id | 438779269 |
| octolytics-dimension-repository_nwo | solid-software/solid_lints |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438779269 |
| octolytics-dimension-repository_network_root_nwo | solid-software/solid_lints |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/solid-software/solid_lints/pull/212#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsolid-software%2Fsolid_lints%2Fpull%2F212 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsolid-software%2Fsolid_lints%2Fpull%2F212 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=solid-software%2Fsolid_lints |
| Reload | https://github.com/solid-software/solid_lints/pull/212 |
| Reload | https://github.com/solid-software/solid_lints/pull/212 |
| Reload | https://github.com/solid-software/solid_lints/pull/212 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
|
solid-software
| https://github.com/solid-software |
| solid_lints | https://github.com/solid-software/solid_lints |
|
Notifications
| https://github.com/login?return_to=%2Fsolid-software%2Fsolid_lints |
|
Fork
24
| https://github.com/login?return_to=%2Fsolid-software%2Fsolid_lints |
|
Star
41
| https://github.com/login?return_to=%2Fsolid-software%2Fsolid_lints |
|
Code
| https://github.com/solid-software/solid_lints |
|
Issues
25
| https://github.com/solid-software/solid_lints/issues |
|
Pull requests
4
| https://github.com/solid-software/solid_lints/pulls |
|
Actions
| https://github.com/solid-software/solid_lints/actions |
|
Projects
| https://github.com/solid-software/solid_lints/projects |
|
Security and quality
0
| https://github.com/solid-software/solid_lints/security |
|
Insights
| https://github.com/solid-software/solid_lints/pulse |
|
Code
| https://github.com/solid-software/solid_lints |
|
Issues
| https://github.com/solid-software/solid_lints/issues |
|
Pull requests
| https://github.com/solid-software/solid_lints/pulls |
|
Actions
| https://github.com/solid-software/solid_lints/actions |
|
Projects
| https://github.com/solid-software/solid_lints/projects |
|
Security and quality
| https://github.com/solid-software/solid_lints/security |
|
Insights
| https://github.com/solid-software/solid_lints/pulse |
| xJac0b | https://github.com/xJac0b |
| master | https://github.com/solid-software/solid_lints/tree/master |
| issue-126-lint-default-constructor-only | https://github.com/solid-software/solid_lints/tree/issue-126-lint-default-constructor-only |
| Conversation | https://github.com/solid-software/solid_lints/pull/212 |
| Commits6 (6) | https://github.com/solid-software/solid_lints/pull/212/commits |
| Checks | https://github.com/solid-software/solid_lints/pull/212/checks |
| Files changed | https://github.com/solid-software/solid_lints/pull/212/files |
| Lint default constructor and named parameter (issue #126) | https://github.com/solid-software/solid_lints/pull/212#top |
| xJac0b | https://github.com/xJac0b |
| master | https://github.com/solid-software/solid_lints/tree/master |
| issue-126-lint-default-constructor-only | https://github.com/solid-software/solid_lints/tree/issue-126-lint-default-constructor-only |
|
| https://github.com/xJac0b |
| xJac0b | https://github.com/xJac0b |
| Jun 5, 2025 | https://github.com/solid-software/solid_lints/pull/212#issue-3121480291 |
| #126 | https://github.com/solid-software/solid_lints/issues/126 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| https://github.com/xJac0b |
| xJac0b | https://github.com/xJac0b |
| solid-vovabeloded | https://github.com/solid-vovabeloded |
| June 5, 2025 14:27 | https://github.com/solid-software/solid_lints/pull/212#event-18002953672 |
| https://github.com/apps/gemini-code-assist |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
|
Jun 5, 2025
| https://github.com/solid-software/solid_lints/pull/212#pullrequestreview-2900582214 |
|
View reviewed changes
| https://github.com/solid-software/solid_lints/pull/212/files |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| https://github.com/solid-software/solid_lints/pull/212#pullrequestreview-2900582214 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @xJac0b | https://github.com/xJac0b |
| 1 | https://github.com/solid-software/solid_lints/pull/212#user-content-fn-1-9e9358378ca1e3250e465b4a1c6e6a87 |
| @xJac0b | https://github.com/xJac0b |
| #126 | https://github.com/solid-software/solid_lints/issues/126 |
| documentation page | https://developers.google.com/gemini-code-assist/docs/review-github-code |
| @gemini-code-assist | https://github.com/gemini-code-assist |
| here | https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github |
| @gemini-code-assist | https://github.com/gemini-code-assist |
| Gemini Code Assist IDE Extension | https://cloud.google.com/products/gemini/code-assist |
| Privacy Notices | https://policies.google.com/privacy |
| Generative AI Prohibited Use Policy | https://policies.google.com/terms/generative-ai/use-policy |
| Terms of Service | https://policies.google.com/terms |
| here | https://developers.google.com/gemini-code-assist/docs/review-github-code |
| use code with caution | https://support.google.com/legal/answer/13505487 |
| ↩ | https://github.com/solid-software/solid_lints/pull/212#user-content-fnref-1-9e9358378ca1e3250e465b4a1c6e6a87 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| https://github.com/apps/gemini-code-assist |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
|
Jun 5, 2025
| https://github.com/solid-software/solid_lints/pull/212#pullrequestreview-2900586232 |
|
View reviewed changes
| https://github.com/solid-software/solid_lints/pull/212/files |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| https://github.com/solid-software/solid_lints/pull/212#pullrequestreview-2900586232 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| lib/src/lints/avoid_using_api/avoid_using_api_linter.dart | https://github.com/solid-software/solid_lints/pull/212/files#diff-287a4049bfef35494a8b49923cd6e4513b94b981e8b7dcc0bf4e4e680122b83e |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| lint_test/avoid_using_api/named_parameter_ban/pubspec.yaml | https://github.com/solid-software/solid_lints/pull/212/files#diff-d3436228142a25a94028ac82d00750159eb8c92005b784380a01129b82a9371f |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| https://github.com/solid-vovabeloded |
| solid-vovabeloded | https://github.com/solid-vovabeloded |
|
Jun 5, 2025
| https://github.com/solid-software/solid_lints/pull/212#pullrequestreview-2900750784 |
|
View reviewed changes
| https://github.com/solid-software/solid_lints/pull/212/files |
| solid-vovabeloded | https://github.com/solid-vovabeloded |
| https://github.com/solid-software/solid_lints/pull/212#pullrequestreview-2900750784 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @xJac0b | https://github.com/xJac0b |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| lib/src/lints/avoid_using_api/avoid_using_api_linter.dart | https://github.com/solid-software/solid_lints/pull/212/files#diff-287a4049bfef35494a8b49923cd6e4513b94b981e8b7dcc0bf4e4e680122b83e |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| lib/src/lints/avoid_using_api/avoid_using_api_linter.dart | https://github.com/solid-software/solid_lints/pull/212/files#diff-287a4049bfef35494a8b49923cd6e4513b94b981e8b7dcc0bf4e4e680122b83e |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| lint_test/avoid_using_api/external_source/lib/external_source.dart | https://github.com/solid-software/solid_lints/pull/212/files#diff-723bcec2c18bc001e0f034ba306690ad096e05f7a630d7c73eed283571171031 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| lint_test/avoid_using_api/named_parameter_ban/lib/named_parameter_ban_test.dart | https://github.com/solid-software/solid_lints/pull/212/files#diff-6507831e73ebc0cd89862eca0114cda95fb896f47d54dacafdab1efe2e9e7b26 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| lint_test/avoid_using_api/named_parameter_ban/lib/named_parameter_ban_test.dart | https://github.com/solid-software/solid_lints/pull/212/files#diff-6507831e73ebc0cd89862eca0114cda95fb896f47d54dacafdab1efe2e9e7b26 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| xJac0b | https://github.com/xJac0b |
| June 6, 2025 13:13 | https://github.com/solid-software/solid_lints/pull/212#commits-pushed-af3aa61 |
|
| https://github.com/xJac0b |
| feat: lint default constructor only | https://github.com/solid-software/solid_lints/pull/212/commits/af3aa61fa1b8c5a955f4a1b88fc26727af4870e3 |
| af3aa61 | https://github.com/solid-software/solid_lints/pull/212/commits/af3aa61fa1b8c5a955f4a1b88fc26727af4870e3 |
|
| https://github.com/xJac0b |
| feat: add named parameter | https://github.com/solid-software/solid_lints/pull/212/commits/7f4bea209c8b20babef94db5aea7fcbadd3e350c |
| 7f4bea2 | https://github.com/solid-software/solid_lints/pull/212/commits/7f4bea209c8b20babef94db5aea7fcbadd3e350c |
|
| https://github.com/xJac0b |
| fix: rename test package | https://github.com/solid-software/solid_lints/pull/212/commits/2e3a597a0891b2e9059ff9e303425113ebe5b5b6 |
| 2e3a597 | https://github.com/solid-software/solid_lints/pull/212/commits/2e3a597a0891b2e9059ff9e303425113ebe5b5b6 |
|
| https://github.com/xJac0b |
| fix: add explicit null check | https://github.com/solid-software/solid_lints/pull/212/commits/f0401e4e2a9c193792c0147c7ac07b890c250314 |
| f0401e4 | https://github.com/solid-software/solid_lints/pull/212/commits/f0401e4e2a9c193792c0147c7ac07b890c250314 |
|
| https://github.com/xJac0b |
| CR fixes | https://github.com/solid-software/solid_lints/pull/212/commits/b26b7c220da539cbe2c6c1f96b4ae513f9352bc6 |
| b26b7c2 | https://github.com/solid-software/solid_lints/pull/212/commits/b26b7c220da539cbe2c6c1f96b4ae513f9352bc6 |
| https://github.com/xJac0b |
| xJac0b | https://github.com/xJac0b |
| force-pushed | https://github.com/solid-software/solid_lints/compare/97038d847ade5fa2ef2638e50c3351979524700b..b26b7c220da539cbe2c6c1f96b4ae513f9352bc6 |
| 97038d8 | https://github.com/solid-software/solid_lints/commit/97038d847ade5fa2ef2638e50c3351979524700b |
| b26b7c2 | https://github.com/solid-software/solid_lints/commit/b26b7c220da539cbe2c6c1f96b4ae513f9352bc6 |
|
Compare
| https://github.com/solid-software/solid_lints/compare/97038d847ade5fa2ef2638e50c3351979524700b..b26b7c220da539cbe2c6c1f96b4ae513f9352bc6 |
| June 6, 2025 11:13 | https://github.com/solid-software/solid_lints/pull/212#event-18021123872 |
| https://github.com/solid-vovabeloded |
| solid-vovabeloded | https://github.com/solid-vovabeloded |
|
Jun 6, 2025
| https://github.com/solid-software/solid_lints/pull/212#pullrequestreview-2904772409 |
|
View reviewed changes
| https://github.com/solid-software/solid_lints/pull/212/files/b26b7c220da539cbe2c6c1f96b4ae513f9352bc6 |
| lib/src/lints/avoid_using_api/avoid_using_api_linter.dart | https://github.com/solid-software/solid_lints/pull/212/files/b26b7c220da539cbe2c6c1f96b4ae513f9352bc6#diff-287a4049bfef35494a8b49923cd6e4513b94b981e8b7dcc0bf4e4e680122b83e |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| lint_test/avoid_using_api/external_source/lib/external_source.dart | https://github.com/solid-software/solid_lints/pull/212/files#diff-723bcec2c18bc001e0f034ba306690ad096e05f7a630d7c73eed283571171031 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
|
| https://github.com/xJac0b |
| fix: make default constructor identifier field private | https://github.com/solid-software/solid_lints/pull/212/commits/a2ebde3a9f8b6388b4d04838dd7d5bf49d3a7139 |
| a2ebde3 | https://github.com/solid-software/solid_lints/pull/212/commits/a2ebde3a9f8b6388b4d04838dd7d5bf49d3a7139 |
| https://github.com/solid-vovabeloded |
| solid-vovabeloded | https://github.com/solid-vovabeloded |
|
Jun 6, 2025
| https://github.com/solid-software/solid_lints/pull/212#pullrequestreview-2904952868 |
|
View reviewed changes
| https://github.com/solid-software/solid_lints/pull/212/files/a2ebde3a9f8b6388b4d04838dd7d5bf49d3a7139 |
| https://github.com/xJac0b |
| xJac0b | https://github.com/xJac0b |
| ee3e27d | https://github.com/solid-software/solid_lints/commit/ee3e27d2c95cedd8fe07802be6073a7735935bd9 |
| Jun 6, 2025 | https://github.com/solid-software/solid_lints/pull/212#event-18023124007 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
| https://github.com/xJac0b |
| xJac0b | https://github.com/xJac0b |
| June 6, 2025 13:43 | https://github.com/solid-software/solid_lints/pull/212#event-18023124314 |
| https://github.co/hiddenchars |
| https://github.com/solid-software/solid_lints/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsolid-software%2Fsolid_lints%2Fpull%2F212 |
|
| https://github.com/solid-vovabeloded |
|
solid-vovabeloded
| https://github.com/solid-vovabeloded |
|
| https://github.com/solid-software/solid_lints/pull/212/files/a2ebde3a9f8b6388b4d04838dd7d5bf49d3a7139 |
|
| https://github.com/apps/gemini-code-assist |
|
gemini-code-assist[bot]
| https://github.com/apps/gemini-code-assist |
|
| https://github.com/solid-software/solid_lints/pull/212/files/afd77daad1c74507ecffa8581da42d4145712c78 |
|
avoid_using_api: Lint Default Constructor Only
| https://github.com/solid-software/solid_lints/issues/126 |
| Please reload this page | https://github.com/solid-software/solid_lints/pull/212 |
|
| https://github.com/xJac0b |
|
| https://github.com/solid-vovabeloded |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |