Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago Porto committed Apr 28, 2019
1 parent 649add7 commit a69b65c
Show file tree
Hide file tree
Showing 4 changed files with 797 additions and 1,045 deletions.
38 changes: 1 addition & 37 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,37 +1 @@
{
"env": {
"amd": false,
"applescript": false,
"browser": true,
"commonjs": false,
"embertest": false,
"jasmine": false,
"jest": false,
"jquery": false,
"meteor": false,
"mocha": true,
"mongo": false,
"nashorn": false,
"phantomjs": false,
"prototypejs": false,
"protractor": false,
"qunit": false,
"serviceworker": false,
"shelljs": false,
"webextensions": false,
"worker": false
},

"globals": {
// additional predefined global variables
},

"plugins": [
// e.g. "react" (must run `npm install eslint-plugin-react` first)
],

"extends": [
// extend the set of enabled rules
"standard"
]
}
{ "extends": ["standard"] }
37 changes: 24 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,82 +4,95 @@
<code>LIKED ? Leave a <a href="https://github.com/tiagoporto/limit-lines/stargazers">⭐</a> : <a href="https://github.com/tiagoporto/limit-lines/issues">😞</a></code>
</p>


[![Release](https://img.shields.io/npm/v/limit-lines.svg?style=flat-square&label=release)](https://github.com/tiagoporto/limit-lines/releases)
[![Node](https://img.shields.io/node/v/limit-lines.svg?style=flat-square)](https://www.npmjs.com/package/limit-lines)
[![Downloads](https://img.shields.io/npm/dt/limit-lines.svg?style=flat-square)](https://www.npmjs.com/package/limit-lines)
[![install size](https://packagephobia.now.sh/badge?p=limit-lines)](https://packagephobia.now.sh/result?p=limit-lines)
[![License](https://img.shields.io/github/license/tiagoporto/limit-lines.svg?style=flat-square)](https://raw.githubusercontent.com/tiagoporto/limit-lines/master/LICENSE)
[![Dependencies Status](https://img.shields.io/david/tiagoporto/limit-lines.svg?style=flat-square)](https://david-dm.org/tiagoporto/limit-lines)
[![devDependencies Status](https://img.shields.io/david/dev/tiagoporto/limit-lines.svg?style=flat-square)](https://david-dm.org/tiagoporto/limit-lines#info=devDependencies)
[![Inline docs](http://inch-ci.org/github/tiagoporto/limit-lines.svg?branch=master&style=flat-square)](http://inch-ci.org/github/tiagoporto/limit-lines)
<!-- [![Build Status](https://img.shields.io/travis/tiagoporto/limit-lines.svg?style=flat-square&logo=travis)](https://travis-ci.org/tiagoporto/limit-lines) -->
<!-- [![Coverage Status](https://img.shields.io/coveralls/tiagoporto/limit-lines.svg)](https://coveralls.io/github/tiagoporto/limit-lines) -->
[![dependencies Status](https://img.shields.io/david/tiagoporto/limit-lines.svg?style=flat-square)](https://david-dm.org/tiagoporto/limit-lines)

<!-- [![Build Status](https://img.shields.io/travis/com/tiagoporto/limit-lines/master.svg?label=tests&logo=travis&style=flat-square)](https://travis-ci.com/tiagoporto/limit-lines) -->
<!-- [![Coverage Status](https://img.shields.io/coveralls/tiagoporto/limit-lines.svg?style=flat-square)](https://coveralls.io/github/tiagoporto/limit-lines) -->
<!-- [![Mutation testing cover](https://badge.stryker-mutator.io/github.com/tiagoporto/limit-lines/master)](https://stryker-mutator.github.io) -->

[![js-standard-style](https://img.shields.io/badge/code%20style-standard-yellow.svg?style=flat-square)](http://standardjs.com)
[![Inline docs](http://inch-ci.org/github/tiagoporto/limit-lines.svg?branch=master&style=flat-square)](http://inch-ci.org/github/tiagoporto/limit-lines)
[![devDependencies Status](https://img.shields.io/david/dev/tiagoporto/limit-lines.svg?style=flat-square)](https://david-dm.org/tiagoporto/limit-lines?type=dev)

> A tool for check and report lines by file.
> A tool for check and report number of lines by file.
![Screenshot](Screenshot.png)


## Installation

```
npm install limit-lines
```


## Execute

```
limitlines [options]
```


## Options

### Path

`string`, separate by comma.

accept [globby](https://github.com/sindresorhus/globby) paths.
accept [globby](https://github.com/sindresorhus/globby) paths.

Default: `.`

```
limitlines --path 'folder1/**/*, folder2/*.{html,js}'
```

### Ignore

`string`, separate by comma

Paths to ignore.

Default: `node_modules`

```
limitlines --ignore 'somefolder'
```

### Maxlines

`integer`

Maximum lines by file. Default: `300`

```
limitlines --maxlines 450
```

### Minlines

`integer`

Minimun accepted lines by file. Default: 1

```
limitlines --minlines 1
```

### Maxerrors

`integer`

Maximum errors accept. Default: `0`

```
limitlines --maxerrors 3
```

### Version

Output the version number

Alias `-v`
Expand All @@ -88,8 +101,6 @@ Alias `-v`
limitlines --version
```



## License

Limit Lines is released under the terms of the [MIT license](https://github.com/tiagoporto/limit-lines/blob/master/LICENSE).
Loading

0 comments on commit a69b65c

Please sign in to comment.