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
+3 -3
View File
@@ -2,14 +2,14 @@ const path = require('path');
const _ = require('lodash');
require('dotenv').config({
path: path.resolve(__dirname, '../.env')
path: path.resolve(__dirname, '../.env'),
});
module.exports = {
client: 'pg',
connection: process.env.DATABASE_URL,
migrations: {
tableName: 'migration'
tableName: 'migration',
},
wrapIdentifier: (value, origImpl) => origImpl(_.snakeCase(value))
wrapIdentifier: (value, origImpl) => origImpl(_.snakeCase(value)),
};