tslint-rules-avol

TSLint Rules for Avol codestyle

Usage no npm install needed!

<script type="module">
  import tslintRulesAvol from 'https://cdn.skypack.dev/tslint-rules-avol';
</script>

README

NPM Dependencies DevDependencies

tslint-rules-avol

TSLint rules for Avol codestyle.

Rules

Rule Description
avol-binary-expression-parens Rule to enforce the use of parentheses each operand of a binary expression when it is some kind of binary or conditional expression.
avol-conditional-expression-parens Rule to enforce the use of parentheses each clause of a conditional when they are binary or conditional expression.
avol-early-exit Recommends to use an early exit instead of a long if block.
avol-jsx-no-bind Forbids function binding in JSX attributes.

Change Log

View changelog.

License

MIT.