Code formatting with prettier, change eslint config for the server

This commit is contained in:
Maksim Eltyshev
2019-11-05 18:01:42 +05:00
parent bc87c1d883
commit 7a3805e64c
191 changed files with 4321 additions and 2880 deletions

View File

@@ -1,4 +1,4 @@
module.exports.up = knex => knex.raw(`
module.exports.up = (knex) => knex.raw(`
CREATE SEQUENCE next_id_seq;
CREATE FUNCTION next_id(OUT id BIGINT) AS $$
@@ -19,7 +19,7 @@ module.exports.up = knex => knex.raw(`
$$ LANGUAGE PLPGSQL;
`);
module.exports.down = knex => knex.raw(`
module.exports.down = (knex) => knex.raw(`
DROP SEQUENCE next_id_seq;
DROP FUNCTION next_id(OUT id BIGINT);