Rebeka Dekany a648015db8 Centralize prettier configuration to root level (#30501) пре 6 месеци
..
.nvmrc e80ce42896 Upgrade Node.js from 22.18 to 24.13 (#30509) пре 6 месеци
LICENSE 9c0dbbc5c8 Remove CoffeeScript пре 5 година
README.md a648015db8 Centralize prettier configuration to root level (#30501) пре 6 месеци
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) пре 1 година
buildscript.txt e80ce42896 Upgrade Node.js from 22.18 to 24.13 (#30509) пре 6 месеци
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting пре 4 година
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting пре 4 година
package.json a648015db8 Centralize prettier configuration to root level (#30501) пре 6 месеци
tsconfig.json a648015db8 Centralize prettier configuration to root level (#30501) пре 6 месеци

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.