Skip to content

Commit

Permalink
Lint run
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Oct 7, 2021
1 parent 7e6277a commit 45baee0
Show file tree
Hide file tree
Showing 10 changed files with 592 additions and 597 deletions.
6 changes: 2 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
2,
"double"
],
"linebreak-style": [
2,
"windows"
],
"semi": [
2,
"always"
Expand All @@ -20,11 +16,13 @@
2,
22
],
"linebreak-style": 0,
"no-var": 1
},
"parserOptions": {
"sourceType": "module"
},
"ignorePatterns": ["**/*.min.mjs", "**/*.min.js"],
"globals": {
"define": false,
"describe": false,
Expand Down
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ Cron('* * * * * *', function () {
});
```


## Installation

### Manual

* Download latest [zipball](http://github.com/Hexagon/croner/zipball/master/)
* Unpack
* Grab ```croner.min.js``` ([UMD](https://github.com/umdjs/umd)) or ```croner.min.mjs``` ([ES-module](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules)) from the [dist/](/dist) folder
* Download latest [zipball](http://github.com/Hexagon/croner/zipball/master/)
* Unpack
* Grab ```croner.min.js``` ([UMD](https://github.com/umdjs/umd)) or ```croner.min.mjs``` ([ES-module](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules)) from the [dist/](/dist) folder

### Node.js

Expand Down Expand Up @@ -194,10 +193,9 @@ job.stop();

```


## Pattern

```
```javascript
┌──────────────── second (0 - 59)
│ ┌────────────── minute (0 - 59)
│ │ ┌──────────── hour (0 - 23)
Expand All @@ -209,8 +207,6 @@ job.stop();
* * * * * *
```



## License

MIT
MIT
2 changes: 1 addition & 1 deletion dist/croner.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 45baee0

Please sign in to comment.