Skip to content

Commit

Permalink
next step
Browse files Browse the repository at this point in the history
  • Loading branch information
suculent committed Nov 16, 2023
1 parent 73abbf4 commit 0d6887e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 26 deletions.
23 changes: 0 additions & 23 deletions .eslintrc

This file was deleted.

23 changes: 23 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "script"
},
"rules": {
"indent": 0,
"linebreak-style": 0,
"semi": 0,
"no-console": 0,
"lines-around-comment": 0,
"max-len": 0,
"camelcase": 0,
"eqeqeq": 0,
"dot-notation": 0,
"no-useless-escape": 0,
"no-undef": 0,
"space-in-parens": 0,
"quotes": 0,
"key-spacing": 0
}
}
2 changes: 0 additions & 2 deletions lib/router.transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ module.exports = function (app) {
} else {
res.redirect(app_config.public_url + "/error.html?success=true");
}

return Promise.resolve();
}

async function requestTransfer(req, res) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"jasmine": "nyc jasmine",
"test": "mkdir coverage; nyc jasmine; nyc report --reporter=text-lcov > coverage/lcov.info; coveralls < coverage/lcov.info",
"dev": "source ./.env && echo $ENVIRONMENT && nyc jasmine; nyc report --reporter=text-lcov > coverage/lcov.info; coveralls < coverage/lcov.info",
"lint": "eslint --config ./.eslintrc --ignore-path ./.eslintignore ./",
"lint": "eslint --config ./.eslintrc.js --ignore-path ./.eslintignore ./",
"coverage": "npm run mocha",
"mocha": "mocha spec/jasmine --delay=3000 --exit --timeout=5000; nyc report --reporter=text-lcov > lcov.info && cat lcov.info | node node_modules/coveralls/bin/coveralls.js",
"version": "npm run npm-auto-version",
Expand Down
File renamed without changes.

0 comments on commit 0d6887e

Please sign in to comment.