update deps (#14057)
* wip * locales/index.jsのymlファイル取得ロジックを調節 * regenerate pnpm-lock.yaml * fix(backend): typecheck fails * chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend * chore: migrate ESLint configs to flat config (#14094) * chore: migrate ESLint configs to flat config * fix: update paths * fix: frontend lint fails * refactor(misskey-js): lint build.js * update deps --------- Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com> Co-authored-by: zyoshoka <root@zyoshoka.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										32
									
								
								packages/sw/eslint.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								packages/sw/eslint.config.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
import globals from 'globals';
 | 
			
		||||
import tsParser from '@typescript-eslint/parser';
 | 
			
		||||
import sharedConfig from '../shared/eslint.config.js';
 | 
			
		||||
 | 
			
		||||
export default [
 | 
			
		||||
	...sharedConfig,
 | 
			
		||||
	{
 | 
			
		||||
		ignores: ['build.js'],
 | 
			
		||||
		languageOptions: {
 | 
			
		||||
			globals: {
 | 
			
		||||
				...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])),
 | 
			
		||||
				require: false,
 | 
			
		||||
				_DEV_: false,
 | 
			
		||||
				_LANGS_: false,
 | 
			
		||||
				_VERSION_: false,
 | 
			
		||||
				_ENV_: false,
 | 
			
		||||
				_PERF_PREFIX_: false,
 | 
			
		||||
			},
 | 
			
		||||
		},
 | 
			
		||||
	},
 | 
			
		||||
	{
 | 
			
		||||
		files: ['**/*.ts', '**/*.tsx'],
 | 
			
		||||
		languageOptions: {
 | 
			
		||||
			parserOptions: {
 | 
			
		||||
				parser: tsParser,
 | 
			
		||||
				project: ['./tsconfig.json'],
 | 
			
		||||
				sourceType: 'module',
 | 
			
		||||
				tsconfigRootDir: import.meta.dirname,
 | 
			
		||||
			},
 | 
			
		||||
		},
 | 
			
		||||
	},
 | 
			
		||||
];
 | 
			
		||||
		Reference in New Issue
	
	Block a user