mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	* fix(server): notes/createのバリデーションが効いていない Fix #10079 Co-Authored-By: mei23 <m@m544.net> * anyOf内にバリデーションを書いても最初の一つしかチェックされない * ✌️ * wip * wip * ✌️ * RequiredProp * Revert "RequiredProp" This reverts commit 74693900119a590263106fa3adefd008d69ce80c. * add api:notes/create * fix lint * text * ✌️ * improve readability --------- Co-authored-by: mei23 <m@m544.net> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			679 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			679 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
module.exports = {
 | 
						|
	parserOptions: {
 | 
						|
		tsconfigRootDir: __dirname,
 | 
						|
		project: ['./tsconfig.json', './test/tsconfig.json'],
 | 
						|
	},
 | 
						|
	extends: [
 | 
						|
		'../shared/.eslintrc.js',
 | 
						|
	],
 | 
						|
	rules: {
 | 
						|
		'import/order': ['warn', {
 | 
						|
			'groups': ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
 | 
						|
			'pathGroups': [
 | 
						|
				{
 | 
						|
					'pattern': '@/**',
 | 
						|
					'group': 'external',
 | 
						|
					'position': 'after'
 | 
						|
				}
 | 
						|
			],
 | 
						|
		}],
 | 
						|
		'no-restricted-globals': [
 | 
						|
			'error',
 | 
						|
			{
 | 
						|
				'name': '__dirname',
 | 
						|
				'message': 'Not in ESModule. Use `import.meta.url` instead.'
 | 
						|
			},
 | 
						|
			{
 | 
						|
				'name': '__filename',
 | 
						|
				'message': 'Not in ESModule. Use `import.meta.url` instead.'
 | 
						|
			}
 | 
						|
	]
 | 
						|
	},
 | 
						|
};
 |