mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-22 07:46:15 -04:00
24 lines
643 B
JavaScript
24 lines
643 B
JavaScript
![]() |
import antfu from '@antfu/eslint-config';
|
||
|
|
||
|
export default antfu({
|
||
|
stylistic: {
|
||
|
semi: true,
|
||
|
},
|
||
|
|
||
|
vue: true,
|
||
|
|
||
|
rules: {
|
||
|
// To allow export on top of files
|
||
|
'ts/no-use-before-define': ['error', { allowNamedExports: true, functions: false }],
|
||
|
'curly': ['error', 'all'],
|
||
|
'vitest/consistent-test-it': ['error', { fn: 'test' }],
|
||
|
'ts/consistent-type-definitions': ['error', 'type'],
|
||
|
'style/brace-style': ['error', '1tbs', { allowSingleLine: false }],
|
||
|
'unused-imports/no-unused-vars': ['error', {
|
||
|
argsIgnorePattern: '^_',
|
||
|
varsIgnorePattern: '^_',
|
||
|
caughtErrorsIgnorePattern: '^_',
|
||
|
}],
|
||
|
},
|
||
|
});
|