mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-11-04 03:54:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			522 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			522 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
export async function defineConfig(env) {
 | 
						|
	const { default: pluginJson } = await env.$import(
 | 
						|
		'https://cdn.jsdelivr.net/gh/samuelstroschein/inlang-plugin-json@2/dist/index.js'
 | 
						|
	);
 | 
						|
 | 
						|
	const { default: standardLintRules } = await env.$import(
 | 
						|
		'https://cdn.jsdelivr.net/gh/inlang/standard-lint-rules@2/dist/index.js'
 | 
						|
	);
 | 
						|
 | 
						|
	return {
 | 
						|
		referenceLanguage: 'en',
 | 
						|
		plugins: [pluginJson({
 | 
						|
			pathPattern: './frontend/resources/translations/{language}.json',
 | 
						|
			variableReferencePattern: ["@:"]
 | 
						|
		}), standardLintRules()]
 | 
						|
	};
 | 
						|
}
 |