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

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.