Lucie Germain bf1f34bca6 Merge pull request #32197 from overleaf/lg-project-number-buildscripts il y a 6 mois
..
.nvmrc e80ce42896 Upgrade Node.js from 22.18 to 24.13 (#30509) il y a 8 mois
LICENSE 9c0dbbc5c8 Remove CoffeeScript il y a 5 ans
README.md a648015db8 Centralize prettier configuration to root level (#30501) il y a 8 mois
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) il y a 1 an
buildscript.txt bf1f34bca6 Merge pull request #32197 from overleaf/lg-project-number-buildscripts il y a 6 mois
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting il y a 4 ans
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting il y a 4 ans
package.json fd647002f5 [monorepo] enable caching for eslint and prettier (#30967) il y a 8 mois
tsconfig.json a648015db8 Centralize prettier configuration to root level (#30501) il y a 8 mois

README.md

@overleaf/settings

A small module to allow global config settings to be set for all services within the Overleaf architecture.

Settings file location

You can specify a custom location for the settings file by setting the OVERLEAF_CONFIG environment variable. E.g.

$ export OVERLEAF_CONFIG=/home/james/config/settings.development.js

Otherwise, the settings will be loaded from config/settings.NODE_ENV.js, where NODE_ENV is another environment variable, or defaults to development.

The config directory is first looked for in the current directory, and then relative to the settings module directory.