Rename rules and options
See original GitHub issueLooking at other plugins, they are tending to move away from no-
and ignore
prefixes.
Some of our rules names are also inconsistent, some end with statement
while others don’t despite them both refering to statements.
New Name Proposals
Rules
Current Name | New Name | Theme |
---|---|---|
prefer-readonly-type | No mutability | |
no-let | enforce-const | No mutability |
immutable-data | No mutability | |
no-method-signature | prefer-property-signature | No mutability |
no-this-expression | No OO | |
no-class | No OO | |
no-mixed-type | No OO | |
prefer-type-literal | No OO | |
no-expression-statement | No statements | |
no-conditional-statement | No statements | |
no-loop-statement | No statements | |
no-return-void | No statements | |
no-throw-statement | No exceptions | |
no-try-statement | No exceptions | |
no-promise-reject | No exceptions | |
functional-parameters | Currying |
Options
Current Name | New Name |
---|---|
ignoreAccessorPattern | |
ignoreLocal | |
ignoreClass | |
ignoreInterface | |
ignorePattern | |
allowMutableReturnType | |
ignoreImmediateMutation | |
allowArgumentsKeyword | |
allowNull | |
allowRestParameter | |
allowReturningBranches | |
allowUndefined | |
assumeTypes | |
checkImplicit | |
checkInterfaces | |
checkTypeLiterals | |
enforceParameterCount |
Name Suggestion Are Most Welcome
Issue Analytics
- State:
- Created 4 years ago
- Comments:13
Top Results From Across the Web
Rename rules settings
On the menu bar, go to Tools > Global Options. Expand Transfer. Click Rename Rules. Apply auto-rename rules to transfers.
Read more >Use Rules to Automatically Rename Different Document ...
Step-by-step tutorial on using renaming rules to rename different document types with the AutoSplit plug-in for Adobe® Acrobat®
Read more >Adding renaming rules
To add a renaming rule from the register ; Select Edit Transaction and enter the new payee name. ; Click the dropdown arrow...
Read more >Manage renaming rules for payee names in QuickBooks ...
Edit a renaming rule · Go to your Downloaded Transactions. · Select the arrow next to the payee, then Edit Rule. · Select...
Read more >Edit an Outlook rule
Click Change Rule, click the type of change you want to make, and then complete the steps. Change rule options. Note: To delete...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When considering the rule names and separation, perhaps it would be help to identify some main themes that are needed to make typescript functional. Something like:
@RebeccaStevens A big thank you for all the work you have put in to port the rules! 👍
Agreed #60 could be merged after release. I’ll go ahead and put the release candidate to use in some of the larger projects I’m working on as soon as I can to get a feel for the stability etc. Just need to migrate the projects from tslint to eslint first 😃