<commit_before>node-lintall
===========

Utility to easily JSHint all JavaScript files in your project

## Installation
```javascript
npm install -g lintall
```

## Usage

### Setup Project
1. Place a `.jshintrc` file in the root of your project with your preferred settings
2. Place a `.lintallrc` file in the root with a space delimited list of globs

*Example .lintallrc file:*

`bin/main.js lib/**/*.js config/*.js`

* `bin/main.js`: Only main.js in the bin directory
* `lib/**/*.js`: All js files in the lib directory as well as all sub-directories
* `config/*js`: All js files in the config directory

### CLI
```javascript
lintall
```

With no colors in the output: 
```
lintall -c none
```

Lint a specific file or a glob of files:
```
lintall lib/foo.js lib/bar.js
lintall lib/*.js
lintall lib/**/*.js
```<commit_msg>Doc fix<commit_after>node-lintall
===========

Utility to easily JSHint all JavaScript files in your project

## Installation
```javascript
npm install -g lintall
```

## Usage

### Setup Project
1. Place a `.jshintrc` file in the root of your project with your preferred settings
2. Place a `.lintallrc` file in the root with a space delimited list of globs

Example `.lintallrc` file:

```
bin/main.js lib/**/*.js config/*.js
````

* `bin/main.js`: Only main.js in the bin directory
* `lib/**/*.js`: All js files in the lib directory as well as all sub-directories
* `config/*js`: All js files in the config directory

### CLI
```javascript
lintall
```

With no colors in the output: 
```
lintall -c none
```

Lint a specific file or a glob of files:
```
lintall lib/foo.js lib/bar.js
lintall lib/*.js
lintall lib/**/*.js
```
{'fraction_non_alphanumeric': 0.14216575922565033, 'fraction_numerical': 0.0024198427102238356, 'mean_word_length': 3.864705882352941, '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': '1803799', 'n_tokens_mistral': 565, 'n_tokens_neox': 532, 'n_words': 225}