Enforce front project structure through ESLINT (#7863)
Fixes: https://github.com/twentyhq/twenty/issues/7329
This commit is contained in:
@ -18,7 +18,7 @@ import { logDebug } from '~/utils/logDebug';
|
||||
|
||||
import { GraphQLFormattedError } from 'graphql';
|
||||
import { ApolloManager } from '../types/apolloManager.interface';
|
||||
import { loggerLink } from '../utils';
|
||||
import { loggerLink } from '../utils/loggerLink';
|
||||
|
||||
const logger = loggerLink(() => 'Twenty');
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@ import { expect } from '@storybook/test';
|
||||
|
||||
import { OperationType } from '@/apollo/types/operation-type';
|
||||
|
||||
import formatTitle from '../format-title';
|
||||
import formatTitle from '../formatTitle';
|
||||
|
||||
describe('formatTitle', () => {
|
||||
it('should correctly format the title', () => {
|
||||
@ -1,4 +0,0 @@
|
||||
// More work needed here
|
||||
describe.skip('loggerLink', () => {
|
||||
it('should log the correct message', () => {});
|
||||
});
|
||||
@ -4,7 +4,7 @@ import { isDefined } from '~/utils/isDefined';
|
||||
import { logDebug } from '~/utils/logDebug';
|
||||
import { logError } from '~/utils/logError';
|
||||
|
||||
import formatTitle from './format-title';
|
||||
import formatTitle from './formatTitle';
|
||||
|
||||
const getGroup = (collapsed: boolean) =>
|
||||
collapsed
|
||||
Reference in New Issue
Block a user