Ghost/ghost/i18n/i18next-parser.config.js
Daniel Lockyer 17a48c76cd
Added jsdoc annotations for i18next-parser config type
- this helps with using the correct key/values when working on the
  config
2023-02-27 11:29:56 +01:00

20 lines
348 B
JavaScript

const {SUPPORTED_LOCALES} = require('./');
/**
* @type {import('i18next-parser').UserConfig}
*/
module.exports = {
locales: SUPPORTED_LOCALES,
keySeparator: false,
namespaceSeparator: false,
createOldCatalogs: false,
indentation: 4,
sort: true,
failOnUpdate: process.env.CI,
output: 'locales/$LOCALE.json'
};