mirror of
https://github.com/valitydev/fe-core.git
synced 2024-11-06 02:25:18 +00:00
27 lines
727 B
JavaScript
27 lines
727 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es2021: true,
|
||
|
node: true,
|
||
|
},
|
||
|
extends: ['plugin:prettier/recommended', 'eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
||
|
parser: '@typescript-eslint/parser',
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 12,
|
||
|
sourceType: 'module',
|
||
|
},
|
||
|
plugins: ['@typescript-eslint'],
|
||
|
rules: {
|
||
|
'sort-imports': [
|
||
|
'error',
|
||
|
{
|
||
|
ignoreCase: false,
|
||
|
ignoreDeclarationSort: false,
|
||
|
ignoreMemberSort: false,
|
||
|
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
|
||
|
allowSeparatedGroups: false,
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
};
|