mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
chore: Enfore consistent file-name casing on all backend packages (#15755)
This commit is contained in:
committed by
GitHub
parent
66d339c0d8
commit
3a2a70f193
@@ -9,6 +9,7 @@ module.exports = {
|
||||
...sharedOptions(__dirname),
|
||||
|
||||
rules: {
|
||||
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
|
||||
'@typescript-eslint/consistent-type-imports': 'error',
|
||||
'n8n-local-rules/no-plain-errors': 'off',
|
||||
},
|
||||
|
||||
@@ -3,8 +3,8 @@ import { EventEmitter } from 'events';
|
||||
import type Imap from 'imap';
|
||||
import { type ImapMessage } from 'imap';
|
||||
|
||||
import { getMessage } from './helpers/getMessage';
|
||||
import { PartData } from './PartData';
|
||||
import { getMessage } from './helpers/get-message';
|
||||
import { PartData } from './part-data';
|
||||
import type { Message, MessagePart } from './types';
|
||||
|
||||
const IMAP_EVENTS = ['alert', 'mail', 'expunge', 'uidvalidity', 'update', 'close', 'end'] as const;
|
||||
@@ -3,7 +3,7 @@
|
||||
import Imap from 'imap';
|
||||
|
||||
import { ConnectionClosedError, ConnectionEndedError, ConnectionTimeoutError } from './errors';
|
||||
import { ImapSimple } from './ImapSimple';
|
||||
import { ImapSimple } from './imap-simple';
|
||||
import type { ImapSimpleOptions, MessagePart } from './types';
|
||||
|
||||
/**
|
||||
@@ -95,6 +95,6 @@ export function getParts(
|
||||
return parts;
|
||||
}
|
||||
|
||||
export * from './ImapSimple';
|
||||
export * from './imap-simple';
|
||||
export * from './errors';
|
||||
export * from './types';
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
SevenBitPartData,
|
||||
BinaryPartData,
|
||||
UuencodedPartData,
|
||||
} from '../src/PartData';
|
||||
} from '../src/part-data';
|
||||
|
||||
describe('PartData', () => {
|
||||
describe('fromData', () => {
|
||||
Reference in New Issue
Block a user