TSFluff
TSFluff copied to clipboard
TSFluff is a collection of linting rules for the masochistic developer. Enable them at your own peril!
Prevent lazy developers from trying to boost their Lines-Of-Code metrics with unnecessary line breaks.
Functions are an important part of TypeScript/JavaScript and should be treated as such by ensuring that coders cannot create throwaway functions frivolously.
Ensure all brackets are used without prejudice: [], {}, ().
All comments must include one of the following prefixes/suffixes: - I think... - I guess... - I suspect... - It seems like.. - ...as far I know - ...probably -...
Really all a programmer needs is a do-while loop and the trusty ternary operator.
Putting all the data on the window allows for graceful data transmission between different parts of your application.
This will ensure your code never operates at a trade defecit
Promiscuous types and type unions in signatures are legacy JavaScript code-smell. TypeScript comes with an Expressive Type System that allows for expressions in type signatures. Any Haskell developer who has...