1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

chore: upgrade prettier

Closes #345
This commit is contained in:
Simen Bekkhus 2018-09-19 19:21:34 +02:00
parent a2100afd55
commit 0b33abdf86
No known key found for this signature in database
GPG Key ID: E3BEC11885DC91B6
3 changed files with 25 additions and 26 deletions

View File

@ -7,8 +7,7 @@ function unsecureAuthentication(app) {
app.post('/api/admin/login', (req, res) => { app.post('/api/admin/login', (req, res) => {
const user = req.body; const user = req.body;
req.session.user = new User({ email: user.email }); req.session.user = new User({ email: user.email });
res res.status(200)
.status(200)
.json(req.session.user) .json(req.session.user)
.end(); .end();
}); });

View File

@ -92,13 +92,13 @@
"ava": "^0.25.0", "ava": "^0.25.0",
"coveralls": "^3.0.1", "coveralls": "^3.0.1",
"eslint": "^5.0.0", "eslint": "^5.0.0",
"eslint-config-finn": "^3.0.0", "eslint-config-finn": "^3.0.1",
"eslint-config-finn-prettier": "^3.0.0", "eslint-config-finn-prettier": "^3.0.2",
"husky": "^0.14.1", "husky": "^0.14.1",
"lint-staged": "^7.1.0", "lint-staged": "^7.1.0",
"lolex": "^2.5.0", "lolex": "^2.5.0",
"nyc": "^12.0.1", "nyc": "^12.0.1",
"prettier": "^1.12.1", "prettier": "^1.14.3",
"proxyquire": "^2.0.1", "proxyquire": "^2.0.1",
"superagent": "^3.8.3", "superagent": "^3.8.3",
"supertest": "^3.1.0", "supertest": "^3.1.0",

View File

@ -1894,32 +1894,32 @@ escodegen@^1.9.0:
optionalDependencies: optionalDependencies:
source-map "~0.5.6" source-map "~0.5.6"
eslint-config-finn-prettier@^3.0.0: eslint-config-finn-prettier@^3.0.2:
version "3.0.1" version "3.0.2"
resolved "https://registry.yarnpkg.com/eslint-config-finn-prettier/-/eslint-config-finn-prettier-3.0.1.tgz#1198ed3dfd623f8bc896b9df544e4237a54232b7" resolved "https://registry.yarnpkg.com/eslint-config-finn-prettier/-/eslint-config-finn-prettier-3.0.2.tgz#4f21015d9a0d561feda55c2015935910a24f4808"
dependencies: dependencies:
eslint-config-prettier "^2.4.0" eslint-config-prettier "^3.0.1"
eslint-plugin-prettier "^2.2.0" eslint-plugin-prettier "^2.6.2"
eslint-config-finn@^3.0.0: eslint-config-finn@^3.0.1:
version "3.0.0" version "3.0.1"
resolved "https://registry.yarnpkg.com/eslint-config-finn/-/eslint-config-finn-3.0.0.tgz#d6787c37c1ae5a668b205695290bbad3861898ba" resolved "https://registry.yarnpkg.com/eslint-config-finn/-/eslint-config-finn-3.0.1.tgz#edec7dce85ff0f385dc57171e4ce7b92cd3f3a94"
dependencies: dependencies:
eslint-config-schibsted "^4.0.0" eslint-config-schibsted "^4.0.0"
eslint-config-prettier@^2.4.0: eslint-config-prettier@^3.0.1:
version "2.7.0" version "3.0.1"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.7.0.tgz#7bbfef66ad783277836f4ea556e68b9bcc9da4d0" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-3.0.1.tgz#479214f64c1a4b344040924bfb97543db334b7b1"
dependencies: dependencies:
get-stdin "^5.0.1" get-stdin "^6.0.0"
eslint-config-schibsted@^4.0.0: eslint-config-schibsted@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-schibsted/-/eslint-config-schibsted-4.0.0.tgz#7c0dacdc18d56a2dac006923917ef40df29438ed" resolved "https://registry.yarnpkg.com/eslint-config-schibsted/-/eslint-config-schibsted-4.0.0.tgz#7c0dacdc18d56a2dac006923917ef40df29438ed"
eslint-plugin-prettier@^2.2.0: eslint-plugin-prettier@^2.6.2:
version "2.3.1" version "2.6.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.3.1.tgz#e7a746c67e716f335274b88295a9ead9f544e44d" resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.6.2.tgz#71998c60aedfa2141f7bfcbf9d1c459bf98b4fad"
dependencies: dependencies:
fast-diff "^1.1.1" fast-diff "^1.1.1"
jest-docblock "^21.0.0" jest-docblock "^21.0.0"
@ -2511,9 +2511,9 @@ get-stdin@^4.0.1:
version "4.0.1" version "4.0.1"
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
get-stdin@^5.0.1: get-stdin@^6.0.0:
version "5.0.1" version "6.0.0"
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-5.0.1.tgz#122e161591e21ff4c52530305693f20e6393a398" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
get-stream@^3.0.0: get-stream@^3.0.0:
version "3.0.0" version "3.0.0"
@ -4959,9 +4959,9 @@ preserve@^0.2.0:
version "0.2.0" version "0.2.0"
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
prettier@^1.12.1: prettier@^1.14.3:
version "1.12.1" version "1.14.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.12.1.tgz#c1ad20e803e7749faf905a409d2367e06bbe7325" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.3.tgz#90238dd4c0684b7edce5f83b0fb7328e48bd0895"
pretty-format@^22.4.0: pretty-format@^22.4.0:
version "22.4.0" version "22.4.0"