<commit_before># ls-lint
ls-lint is a linter for [LiveScript](http://livescript.net/).

 [![Build Status](https://travis-ci.org/eheitherd/ls-lint.svg?branch=master)](https://travis-ci.org/eheitherd/ls-lint) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/eheitherd/ls-lint/master/LICENSE)

## Usage

### CLI

```bash
ls-lint file [...]
```

### API

#### ls-lint.lint source, [options]

Returns a list of errors, warnings.

##### options

* `rule-file`

  Path for your rule file.

* `rules`

  This overwrites rules of your rule file or defaults.

```livescript
options =
  rule-file: \./my-rule.lson
  rules:
    eol-last: \ignore
```<commit_msg>Add badges to README<commit_after># ls-lint
ls-lint is a linter for [LiveScript](http://livescript.net/).

[![npm version][npm-img]][npm-url]
[![Dependency Status][dependency-img]][dependency-url]
[![Build Status][build-img]][build-url]
[![GitHub license][license-img]][license-url]

## Usage

### CLI

```bash
ls-lint file [...]
```

### API

#### ls-lint.lint source, [options]

Returns a list of errors, warnings.

##### options

* `rule-file`

  Path for your rule file.

* `rules`

  This overwrites rules of your rule file or defaults.

```livescript
options =
  rule-file: \./my-rule.lson
  rules:
    eol-last: \ignore
```

[npm-img]: https://badge.fury.io/js/ls-lint.svg
[npm-url]: https://badge.fury.io/js/ls-lint
[dependency-img]: https://gemnasium.com/badges/github.com/eheitherd/ls-lint.svg
[dependency-url]: https://gemnasium.com/github.com/eheitherd/ls-lint
[build-img]: https://travis-ci.org/eheitherd/ls-lint.svg?branch=master
[build-url]: https://travis-ci.org/eheitherd/ls-lint
[license-img]: https://img.shields.io/badge/license-MIT-blue.svg
[license-url]: https://raw.githubusercontent.com/eheitherd/ls-lint/master/LICENSE
{'fraction_non_alphanumeric': 0.1985930735930736, 'fraction_numerical': 0.0, 'mean_word_length': 4.09366391184573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '4951217', 'n_tokens_mistral': 730, 'n_tokens_neox': 695, 'n_words': 125}