mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 19:53:59 -05:00
4da68597f7
Since we are about to release it's time to finally fix our linting. This patch basically runs eslint --fix and does some further manual fixes. Also it sets up eslint to fail on every warning on order to make warnings visable in the CI process. There should no functional change be introduced. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
10 lines
221 B
JavaScript
10 lines
221 B
JavaScript
'use strict'
|
|
|
|
const { toBooleanConfig } = require('./utils')
|
|
|
|
module.exports = {
|
|
debug: toBooleanConfig(process.env.DEBUG),
|
|
dburl: process.env.DATABASE_URL,
|
|
urlpath: process.env.URL_PATH,
|
|
port: process.env.PORT
|
|
}
|