20 lines
543 B
JavaScript
20 lines
543 B
JavaScript
import eslint from '@eslint/js';
|
|
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
|
|
import simpleImportSort from 'eslint-plugin-simple-import-sort';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
eslintPluginPrettierRecommended,
|
|
{
|
|
plugins: {
|
|
'simple-import-sort': simpleImportSort,
|
|
},
|
|
rules: {
|
|
'simple-import-sort/imports': 'warn',
|
|
'simple-import-sort/exports': 'warn',
|
|
},
|
|
},
|
|
);
|