<commit_before>tslint
======

A linter for the TypeScript language.

Supported Rules
-----

* `bitwise` disallows bitwise operators.
* `classname` enforces PascalCased class and interface names.
* `curly` enforces braces for `if`/`for`/`do`/`while` statements.
* `debug` disallows `debugger` statements.
* `eofline` enforces the file to end with a newline.
* `eqeqeq` enforces === and !== in favor of == and !=.
* `evil` disallows `eval` function invocations.
* `forin` enforces a `for ... in` statement to be filtered with an `if` statement.
* `indent` enforces consistent indentation levels for the whole file.
* `maxlen` sets the maximum length of a line.
* `noarg` disallows access to `arguments.callee`.
* `noconsole` disallows access to the specified properties on `console`. Property configurations are comma-delimited. For example, the configuration "noconsole: log, debug, warn" disables `console.log`, `console.debug` and `console.warn`.
* `noempty` disallows empty blocks.
* `oneline` enforces an opening brace to be on the same line as the expression preceding it.
* `quotemark` enforces consistent single or double quoted string literals.
* `semicolon` enforces semicolons at the end of every statement.
* `sub` disallows object access via string literals.
* `trailing` disallows trailing whitespace at the end of a line.
* `varname` allows only camelCased or UPPER_CASED variable names.
* `whitespace` enforces whitespace between a keyword and a conditional, surrounding an operator, and enclosing "=" within variable declarations and import/export statements.


Installation
------------

##### CLI

    sudo npm install tslint -g

##### Library

    npm install tslint
<commit_msg>update README for new rules<commit_after>tslint
======

A linter for the TypeScript language.

Supported Rules
-----

* `bitwise` disallows bitwise operators.
* `classname` enforces PascalCased class and interface names.
* `curly` enforces braces for `if`/`for`/`do`/`while` statements.
* `debug` disallows `debugger` statements.
* `dupkey` disallows duplicate keys in object literals.
* `eofline` enforces the file to end with a newline.
* `eqeqeq` enforces === and !== in favor of == and !=.
* `evil` disallows `eval` function invocations.
* `forin` enforces a `for ... in` statement to be filtered with an `if` statement.
* `indent` enforces consistent indentation levels for the whole file.
* `maxlen` sets the maximum length of a line.
* `noarg` disallows access to `arguments.callee`.
* `noconsole` disallows access to the specified properties on `console`. Property configurations are comma-delimited. For example, the configuration "noconsole: log, debug, warn" disables `console.log`, `console.debug` and `console.warn`.
* `noempty` disallows empty blocks.
* `oneline` enforces an opening brace to be on the same line as the expression preceding it.
* `quotemark` enforces consistent single or double quoted string literals.
* `radix` enforces the radix parameter of `parseInt`
* `semicolon` enforces semicolons at the end of every statement.
* `sub` disallows object access via string literals.
* `trailing` disallows trailing whitespace at the end of a line.
* `varname` allows only camelCased or UPPER_CASED variable names.
* `whitespace` enforces whitespace between a keyword and a conditional, surrounding an operator, and enclosing "=" within variable declarations and import/export statements.


Installation
------------

##### CLI

    sudo npm install tslint -g

##### Library

    npm install tslint

{'fraction_non_alphanumeric': 0.10491896502701166, 'fraction_numerical': 0.0, 'mean_word_length': 4.531446540880503, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3446146', 'n_tokens_mistral': 1057, 'n_tokens_neox': 985, 'n_words': 430}