chore: Enfore consistent file-name casing on all backend packages (#15755)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-05-27 16:45:50 +02:00
committed by GitHub
parent 66d339c0d8
commit 3a2a70f193
152 changed files with 309 additions and 279 deletions

View File

@@ -4,4 +4,7 @@ const sharedOptions = require('@n8n/eslint-config/shared');
module.exports = {
extends: ['@n8n/eslint-config/base'],
...sharedOptions(__dirname),
rules: {
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
},
};

View File

@@ -1,5 +1,5 @@
import { ServiceA } from './fixtures/ServiceA';
import { ServiceB } from './fixtures/ServiceB';
import { ServiceA } from './fixtures/service-a';
import { ServiceB } from './fixtures/service-b';
import { Container } from '../di';
describe('DI Container', () => {

View File

@@ -1,5 +1,5 @@
// eslint-disable-next-line import/no-cycle
import { ServiceB } from './ServiceB';
import { ServiceB } from './service-b';
import { Service } from '../../di';
@Service()

View File

@@ -1,5 +1,5 @@
// eslint-disable-next-line import/no-cycle
import { ServiceA } from './ServiceA';
import { ServiceA } from './service-a';
import { Service } from '../../di';
@Service()