diff --git a/.eslintrc.json b/.eslintrc.json index 0d7d8e7..ae80336 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,6 +5,8 @@ "extends": "airbnb-base", "rules": { "curly": [2, "multi-line"], + "function-call-argument-newline": 0, + "function-paren-newline": 0, "global-require": 0, "import/no-dynamic-require": 0, "import/no-extraneous-dependencies": 0, diff --git a/.mocharc.js b/.mocharc.js new file mode 100644 index 0000000..41e196c --- /dev/null +++ b/.mocharc.js @@ -0,0 +1,5 @@ +// https://mochajs.org/#configuring-mocha-nodejs +module.exports = { + require: ['babel-register'], // Transpile files using Babel + recursive: true, +}; diff --git a/package.json b/package.json index 0359e70..46f9651 100644 --- a/package.json +++ b/package.json @@ -49,21 +49,21 @@ "babel-cli": "^6.6.5", "babel-preset-env": "^1.7.0", "babel-register": "^6.7.2", - "eslint": "^5.16.0", - "eslint-config-airbnb-base": "^14.2.1", + "eslint": "^8.57.1", + "eslint-config-airbnb-base": "^15.0.0", "eslint-import-resolver-node": "0.3.7", - "eslint-plugin-import": "^2.26.0", + "eslint-plugin-import": "^2.31.0", "js-yaml": "^4.1.0", - "mocha": "^6.2.3", - "nyc": "^14.1.1", - "rimraf": "^2.5.2", + "mocha": "^11.1.0", + "nyc": "^17.1.0", + "rimraf": "^5.0.10", "shelljs-changelog": "^0.2.6", "shelljs-plugin-open": "^0.3.0", - "shelljs-release": "^0.5.2", + "shelljs-release": "^0.5.3", "should": "^13.2.3" }, "dependencies": { - "minimist": "^1.2.6", + "minimist": "^1.2.8", "shelljs": "^0.9.1" }, "engines": { diff --git a/test/mocha.opts b/test/mocha.opts deleted file mode 100644 index cb6872d..0000000 --- a/test/mocha.opts +++ /dev/null @@ -1,2 +0,0 @@ ---require babel-register ---recursive