mirror of
https://github.com/OptimalBits/bull.git
synced 2026-07-02 00:17:41 +08:00
chore: lint JS files in root directory
Not a huge deal since these files are trivial, but important if they ever grow.
This commit is contained in:
@@ -1 +1,3 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
module.exports = { extends: ['@commitlint/config-conventional'] };
|
module.exports = { extends: ['@commitlint/config-conventional'] };
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
module.exports = require('./lib/queue');
|
module.exports = require('./lib/queue');
|
||||||
module.exports.Job = require('./lib/job');
|
module.exports.Job = require('./lib/job');
|
||||||
|
|||||||
+1
-1
@@ -51,7 +51,7 @@
|
|||||||
"sinon": "^7.4.2"
|
"sinon": "^7.4.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint lib test",
|
"lint": "eslint lib test *.js",
|
||||||
"pretest": "npm run lint",
|
"pretest": "npm run lint",
|
||||||
"test": "NODE_ENV=test mocha --exit",
|
"test": "NODE_ENV=test mocha --exit",
|
||||||
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --exit -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
|
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --exit -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
|
||||||
|
|||||||
Reference in New Issue
Block a user