eslint config

This commit is contained in:
pa
2026-03-10 22:54:56 +09:00
parent 4877010006
commit 607e09d271

View File

@@ -103,29 +103,30 @@ export default defineConfig([
jsdoc({
config: 'flat/recommended',
rules: {
'jsdoc/require-jsdoc': 'off',
'jsdoc/require-param-description': 'off',
'jsdoc/require-returns-description': 'off',
'jsdoc/reject-function-type': 'off'
}
}),
{
ignores: [
'**/__tests__/**',
'**/*.spec.{js,mjs,cjs,vue}',
'**/*.test.{js,mjs,cjs,vue}'
],
plugins: { 'pretty-import': prettyImport },
rules: {
'pretty-import/separate-type-imports': 'warn',
'pretty-import/sort-import-groups': [
'warn',
{
groupStyleImports: true
}
],
'pretty-import/sort-import-names': 'warn'
}
},
// {
// ignores: [
// '**/__tests__/**',
// '**/*.spec.{js,mjs,cjs,vue}',
// '**/*.test.{js,mjs,cjs,vue}'
// ],
// plugins: { 'pretty-import': prettyImport },
// rules: {
// 'pretty-import/separate-type-imports': 'warn',
// 'pretty-import/sort-import-groups': [
// 'warn',
// {
// groupStyleImports: true
// }
// ],
// 'pretty-import/sort-import-names': 'warn'
// }
// },
{
...eslintPluginPrettierRecommended,
ignores: [