Closed 0x4007 closed 6 months ago
I think that PascalCase
rule would be a better name for this issue 😄
I think that
PascalCase
rule would be a better name for this issue 😄
or UpperCamelCase. But Three letter linter is a catchy name as it made me to click on this issue 😄
@0x4007 should the linter ensure every variable respects PascalCase or just the Erc20Permit and Erc721 should follow this rule?
/start
Deadline | Fri, Apr 19, 12:23 PM UTC |
Registered Wallet | 0x2F05fD58023B0a95d1866aa0A3b672cEf05945c5 |
/wallet 0x0000...0000
if you want to update your registered payment wallet address.+ Evaluating results. Please wait...
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Specification | 1 | 3 |
Review | Comment | 4 | 12.8 |
Comment | Formatting | Relevance | Reward |
---|---|---|---|
Make a custom lint rule enforcing this. Check previous conversat... | 3code: count: 1 score: "1" words: 1 | 1 | 3 |
That rule seems to only check for the first character being capi... | 7 | 0.76 | 7 |
I think let's use strictpascalcase then!... | 1.4 | 0.84 | 1.4 |
Yes let's apply this across all identifiers. ... | 1.6 | 0.765 | 1.6 |
We have lint-staged for this purpose but perhaps it's not config... | 2.8 | 0.6 | 2.8 |
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Comment | 1 | 2.3 |
Review | Comment | 3 | 19.1 |
Comment | Formatting | Relevance | Reward |
---|---|---|---|
I think that `PascalCase` rule would be a better name for this i... | 2.3code: count: 1 score: "1" words: 1 | 0.63 | 2.3 |
There actually already is a rule for `PascalCase` interfaces, no... | 9.6code: count: 3 score: "3" words: 4 | 0.76 | 9.6 |
`StrictPascalCase` will enforce no more that one capital letter ... | 6.3code: count: 1 score: "1" words: 1 | 0.74 | 6.3 |
@0x4007 Shall this be applied to other elements too, like variab... | 3.2code: count: 1 score: "1" words: 1 | 0.85 | 3.2 |
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Task | 1 | 100 |
Issue | Comment | 1 | 0 |
Review | Comment | 6 | 17.2 |
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Comment | 1 | 2.9 |
Comment | Formatting | Relevance | Reward |
---|---|---|---|
> I think that `PascalCase` rule would be a better name for this... | 2.9code: count: 1 score: "1" words: 1 | 0.79 | 2.9 |
Make a custom lint rule enforcing this. Check previous conversation
_Originally posted by @0x4007 in https://github.com/ubiquity/pay.ubq.fi/pull/224#discussion_r1569165738_