Rebeka Dekany a648015db8 Centralize prettier configuration to root level (#30501) 6 months ago
..
.nvmrc e80ce42896 Upgrade Node.js from 22.18 to 24.13 (#30509) 6 months ago
LICENSE 9c0dbbc5c8 Remove CoffeeScript 5 years ago
README.md a648015db8 Centralize prettier configuration to root level (#30501) 6 months ago
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) 1 year ago
buildscript.txt e80ce42896 Upgrade Node.js from 22.18 to 24.13 (#30509) 6 months ago
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting 4 years ago
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting 4 years ago
package.json a648015db8 Centralize prettier configuration to root level (#30501) 6 months ago
tsconfig.json a648015db8 Centralize prettier configuration to root level (#30501) 6 months ago

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.