implemented of() and named() for CollectionFlagSets
This commit is contained in:
@@ -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,
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user