feat: adding linter for commits

This commit is contained in:
Carlos Gutierrez
2021-11-22 09:39:27 -06:00
commit 2c7c117aa1
3093 changed files with 1215197 additions and 0 deletions

51
node_modules/array-ify/README.md generated vendored Normal file
View File

@ -0,0 +1,51 @@
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]
> Turn anything into an array
## Install
```sh
$ npm install --save array-ify
```
## Usage
```js
var arrayify = require('array-ify');
arrayify('unicorn');
//=> ['unicorn']
arrayify(['unicorn']);
//=> ['unicorn']
arrayify(null);
//=> [null]
arrayify(undefined);
//=> [undefined]
```
## Related
- [arrify](https://github.com/sindresorhus/arrify) - Convert a value to an array
The difference that is this module does **NOT** turn `null` or `undefined` to an empty array.
## License
MIT © [Steve Mao](https://github.com/stevemao)
[npm-image]: https://badge.fury.io/js/array-ify.svg
[npm-url]: https://npmjs.org/package/array-ify
[travis-image]: https://travis-ci.org/stevemao/array-ify.svg?branch=master
[travis-url]: https://travis-ci.org/stevemao/array-ify
[daviddm-image]: https://david-dm.org/stevemao/array-ify.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/stevemao/array-ify
[coveralls-image]: https://coveralls.io/repos/stevemao/array-ify/badge.svg
[coveralls-url]: https://coveralls.io/r/stevemao/array-ify

4
node_modules/array-ify/index.js generated vendored Normal file
View File

@ -0,0 +1,4 @@
'use strict';
module.exports = function(val) {
return Array.isArray(val) ? val : [val];
};

37
node_modules/array-ify/package.json generated vendored Normal file
View File

@ -0,0 +1,37 @@
{
"name": "array-ify",
"version": "1.0.0",
"description": "Turn anything into an array",
"homepage": "https://github.com/stevemao/array-ify",
"author": {
"name": "Steve Mao",
"email": "maochenyan@gmail.com",
"url": "https://github.com/stevemao"
},
"repository": "stevemao/array-ify",
"license": "MIT",
"files": [
"index.js"
],
"keywords": [
"array-ify",
"array",
"arr",
"arrify",
"arrayify",
"convert",
"value"
],
"devDependencies": {
"coveralls": "^2.11.2",
"istanbul": "^0.3.8",
"jscs": "^1.11.3",
"jshint": "^2.6.3",
"mocha": "*"
},
"scripts": {
"coverage": "istanbul cover _mocha -- -R spec && rm -rf ./coverage",
"lint": "jshint *.js --exclude node_modules && jscs *.js",
"test": "npm run-script lint && mocha"
}
}