mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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
@@ -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' }],
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
@@ -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()
|
||||
@@ -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()
|
||||
Reference in New Issue
Block a user