implemented of() and named() for CollectionFlagSets

This commit is contained in:
2026-03-05 13:15:19 +01:00
parent efea7ad407
commit 0a06d238de
13 changed files with 405 additions and 90 deletions

View File

@@ -2,13 +2,23 @@ import js from '@eslint/js'
import globals from 'globals'
import tseslint from 'typescript-eslint'
import { defineConfig } from 'eslint/config'
import simpleImportSort from 'eslint-plugin-simple-import-sort'
export default defineConfig([
{
files: ['**/*.ts'],
plugins: { js },
plugins: { js, 'simple-import-sort': simpleImportSort },
extends: ['js/recommended'],
languageOptions: { globals: { ...globals.browser, ...globals.node } },
languageOptions: {
globals: { ...globals.browser, ...globals.node },
parserOptions: {
projectService: true,
},
},
rules: {
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
},
},
tseslint.configs.recommended,
tseslint.configs.recommendedTypeChecked,
])